As this is the very first exercise in this workshop, 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 exercise and all other exercises in the ./solutions folder in the repo/directory that contains the course materials. You can copy code from these exercise files by clicking on 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 20 of the Introduction slides (“1_Introduction.html”).
I always 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",
  "mapview",
  "sf",
  "stars",
  "tmap",
  "tmaptools"
)
## Lade nötiges Paket: stars
## Lade nötiges Paket: abind
## All packages loaded successfully

That’s it. Please notify me 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/.