Skip to content

Commit 0b6c6e2

Browse files
committed
Force installing ggplot2 version 3.5.2 to avoid CI errors
1 parent 9070930 commit 0b6c6e2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/lint.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
runs-on: ubuntu-latest
2121
env:
2222
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
23-
23+
R_LIBS_USER: /home/runner/work/_temp/Library
24+
2425
steps:
2526
- name: Checkout repository
2627
uses: actions/checkout@v4
@@ -41,6 +42,9 @@ jobs:
4142
with:
4243
use-public-rspm: true
4344

45+
- name: Print R library paths
46+
run: Rscript -e '.libPaths(); sessionInfo()'
47+
4448
- name: Install necessary packages
4549
run: |
4650
Rscript -e 'install.packages(c("rcmdcheck", "remotes", "Rcpp", "lubridate", "RcppArmadillo", "tidyverse", "terra", "sf", "coda", "foreach", "fs", "tibble", "dplyr", "future", "future.apply", "rlang", "DT", "kableExtra", "knitr", "httr", "foreign", "tidyselect", "purrr", "rvest", "stringr", "rmarkdown", "archive", "magrittr", "arrow", "caret", "colorRamps", "devtools", "doParallel", "ecospat", "fastmatch", "float", "furrr", "gdata", "ggbreak", "ggnewscale", "ggtext", "gridtext", "gt", "gtools", "janitor", "jsonify", "lobstr", "ncdf4", "pak", "pbapply", "png", "quarto", "R.utils", "RCurl", "Rfast", "rgbif", "RNetCDF", "scales", "rworldmap", "smoothr", "snow", "spelling", "testthat", "writexl", "pkgdown", "lintr", "sessioninfo", "cowplot", "ggpubr", "ggExtra", "zip", "tidyterra", "exactextractr", "blockCV", "renv"), Ncpus = parallel::detectCores())'

0 commit comments

Comments
 (0)