library(tidyverse) # Essential package
── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
✔ ggplot2 3.3.6 ✔ purrr 0.3.4
✔ tibble 3.1.8 ✔ dplyr 1.0.10
✔ tidyr 1.2.0 ✔ stringr 1.4.0
✔ readr 2.1.2 ✔ forcats 0.5.1
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
library(ggpubr) # Publication-oriented figures
library(kableExtra) # Tables
Attaching package: 'kableExtra'
The following object is masked from 'package:dplyr':
group_rows
library(magick) # Imagemagick R API
Linking to ImageMagick 6.9.11.60
Enabled features: fontconfig, freetype, fftw, heic, lcms, pango, webp, x11
Disabled features: cairo, ghostscript, raw, rsvg
Using 32 threads
library(patchwork) # Simplified figure tiling
library(ggspatial) # Essential for map-making with ggplot
library(sf) # Essential for map data manipulation
Linking to GEOS 3.9.0, GDAL 3.2.2, PROJ 7.2.1; sf_use_s2() is TRUE
library(showtext) # I want to use google fonts in the figures
Loading required package: sysfonts
Loading required package: showtextdb
library(mapdata) # Rough maps
Loading required package: maps
Attaching package: 'maps'
The following object is masked from 'package:purrr':
map
library(ggsflabel) # Map labelling functions
Attaching package: 'ggsflabel'
The following objects are masked from 'package:ggplot2':
geom_sf_label, geom_sf_text, StatSfCoordinates