Skip to content

Commit 043daeb

Browse files
authored
Install Linux libraries for R packages
Added installation of necessary Linux system libraries for R packages in the deploy workflow.
1 parent 3a3a31f commit 043daeb

1 file changed

Lines changed: 38 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,52 @@ jobs:
2121
with:
2222
use-public-rspm: true
2323

24+
- name: Install Linux system libraries for R packages
25+
run: |
26+
sudo apt-get update
27+
sudo apt-get install -y --no-install-recommends \
28+
libcurl4-openssl-dev \
29+
libssl-dev \
30+
libxml2-dev \
31+
libfontconfig1-dev \
32+
libfreetype6-dev \
33+
libfribidi-dev \
34+
libharfbuzz-dev \
35+
libpng-dev \
36+
libjpeg-dev \
37+
libtiff-dev \
38+
libwebp-dev \
39+
libmagick++-dev \
40+
libudunits2-dev \
41+
libgdal-dev \
42+
gdal-bin \
43+
libgeos-dev \
44+
libproj-dev \
45+
proj-data \
46+
proj-bin \
47+
sqlite3 \
48+
libsqlite3-dev \
49+
make \
50+
g++ \
51+
pkg-config
52+
2453
- name: Setup R dependencies
2554
uses: r-lib/actions/setup-r-dependencies@v2
2655
with:
27-
# Keep dependencies minimal for current active R chunks.
56+
# Packages required by active Quarto R chunks in subsites/consortium.qmd.
2857
extra-packages: |
2958
any::knitr
3059
any::rmarkdown
3160
any::leaflet
3261
any::base64enc
33-
any::rnaturalearthhires
34-
cache-version: 1
62+
any::sf
63+
any::dplyr
64+
any::ggplot2
65+
any::ggrepel
66+
any::ggimage
67+
any::rnaturalearth
68+
github::ropensci/rnaturalearthhires
69+
cache-version: 2
3570

3671
- name: Setup Quarto
3772
uses: quarto-dev/quarto-actions/setup@v2

0 commit comments

Comments
 (0)