diff --git a/02-spatial-data.Rmd b/02-spatial-data.Rmd index 6368d5bb6..d3246dfb1 100644 --- a/02-spatial-data.Rmd +++ b/02-spatial-data.Rmd @@ -28,7 +28,7 @@ Mac and Linux operating systems (OSs) have additional systems requirements, whic See also OS-specific instructions such as that provided by the website [rtask.thinkr.fr](https://rtask.thinkr.fr/installation-of-r-4-2-on-ubuntu-22-04-lts-and-tips-for-spatial-packages/), which covers installing R on the open source OS Ubuntu. ``` -After you have got a good setup, it's time to run some code! +After you have got a good set-up, it's time to run some code! Unless you already have these packages installed, the first thing to do is to install foundational R packages used in this chapter, with the following commands:^[ **spDataLarge** is not on CRAN\index{CRAN}, meaning it must be installed via *r-universe* or with the following command: `remotes::install_github("Nowosad/spDataLarge")`. ] @@ -44,7 +44,7 @@ install.packages("spDataLarge", repos = "https://nowosad.r-universe.dev") remotes::install_github("r-tmap/tmap") ``` -The packages needed to reproduce Part 1 of this book can be installed with the following command: `remotes::install_github("geocompx/geocompkg")`. +The packages needed to reproduce Part I of this book can be installed with the following command: `remotes::install_github("geocompx/geocompkg")`. This command uses the function `install_packages()` from the **remotes** package to install source code hosted on the GitHub code hosting, version and collaboration platform. The following command will install **all** dependencies required to reproduce the entire book (warning: this may take several minutes): `remotes::install_github("geocompx/geocompkg", dependencies = TRUE)`. diff --git a/README.Rmd b/README.Rmd index d25249b30..07c43eb37 100644 --- a/README.Rmd +++ b/README.Rmd @@ -140,7 +140,7 @@ install.packages("remotes") install.packages('geocompkg', repos = c('https://geocompr.r-universe.dev', 'https://cloud.r-project.org'), dependencies = TRUE, force = TRUE) ``` -Installing `geocompkg` will also install core packages required for reproducing **Part 1 of the book** (chapters 1 to 8). +Installing `geocompkg` will also install core packages required for reproducing **Part I of the book** (chapters 1 to 8). Note: you may also need to install [system dependencies](https://github.com/r-spatial/sf#installing) if you're running Linux (recommended) or Mac operating systems. You also need to have the [**remotes**](https://github.com/r-lib/remotes/) package installed: diff --git a/README.md b/README.md index e65bbd804..2b1abaf5f 100644 --- a/README.md +++ b/README.md @@ -234,7 +234,7 @@ install.packages('geocompkg', repos = c('https://geocompr.r-universe.dev', 'http ``` Installing `geocompkg` will also install core packages required for -reproducing **Part 1 of the book** (chapters 1 to 8). Note: you may also +reproducing **Part I of the book** (chapters 1 to 8). Note: you may also need to install [system dependencies](https://github.com/r-spatial/sf#installing) if you’re running Linux (recommended) or Mac operating systems. You also need to