This is the first exercise in this workshop, and it is relatively easy and short. Its purpose is to get used to this exercise format and, more importantly, to install all necessary packages for this course.

Note: You can find the solutions for this and all other exercises in the ./solutions folder in the repo/directory containing the course materials. You can copy code from these exercise files by clicking the small blue clipboard icon in the code boxes’ upper right corner.

And here comes our very first exercise (which is not very spatial…):

1

Please install all packages that are listed on slide 31 of the Introduction slides (“1_Introduction_GIS.html”).
We often recommend using the easypackages packages, which can be installed with the command install.packages("easypackages"). After loading the package with library(easypackages) you can load and install packages with the command easypackages::packages("fancy_package_1", "fancy_package_2", ...).
easypackages::packages(
  "dplyr",
  "ggplot2",
  "oswaldosantos/ggsn",
  "gifski",
  "haven",
  "osmdata",
  "OpenStreetMap",
  "sf",
  "spatialreg",
  "spatstat",
  "sfdep",
  "spdep",
  "stars",
  "terra",
  "tidygeocoder",
  "tmap",
  "tmaptools",
  "raster",
  "StefanJuenger/z11"
) 
## All packages loaded successfully

That’s it. Please notify us if there are any issues with installing the packages or, more generally, your R installation.

…oh, and if you got some time left:

2

Visit the website https://thetruesize.com/.