Skip to content

Commit eb7372b

Browse files
committed
Force installing ggplot2 version 3.5.2 to avoid CI errors
1 parent dbc2640 commit eb7372b

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.github/workflows/lint.yaml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,11 @@ jobs:
4343

4444
- name: Install necessary packages, including some pinned package versions
4545
run: |
46-
Rscript -e 'install.packages(c("rcmdcheck", "remotes", "Rcpp", "RcppArmadillo", "tidyverse", "terra", "sf", "coda", "foreach", "fs", "future", "future.apply", "rlang", "DT", "kableExtra", "knitr", "rmarkdown", "archive", "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", "rworldmap", "smoothr", "snow", "spelling", "testthat", "writexl", "zip", "tidyterra", "exactextractr", "blockCV"), Ncpus = parallel::detectCores())'
46+
Rscript -e 'install.packages(c("rcmdcheck", "remotes", "Rcpp", "RcppArmadillo", "tidyverse", "terra", "sf", "coda", "foreach", "fs", "future", "future.apply", "rlang", "DT", "kableExtra", "knitr", "rmarkdown", "archive", "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", "rworldmap", "smoothr", "snow", "spelling", "testthat", "writexl", "zip", "tidyterra", "exactextractr", "blockCV", "renv"), Ncpus = parallel::detectCores())'
4747
4848
- name: Install some pinned package versions
4949
run: |
50-
Rscript -e 'remotes::install_version("scales", version="1.3.0")'
51-
Rscript -e 'remotes::install_version("pkgdown", version="2.0.7")'
52-
Rscript -e 'remotes::install_version("lintr", version="3.0.0")'
53-
Rscript -e 'remotes::install_version("sessioninfo", version="1.2.2")'
54-
Rscript -e 'remotes::install_version("ggplot2", version="3.5.2")'
55-
Rscript -e 'remotes::install_version("cowplot", version="1.1.3")'
56-
Rscript -e 'remotes::install_version("ggpubr", version="0.6.0")'
57-
Rscript -e 'remotes::install_version("ggExtra", version="0.10.1")'
58-
Rscript -e 'packageVersion("scales")'
59-
Rscript -e 'packageVersion("pkgdown")'
60-
Rscript -e 'packageVersion("sessioninfo")'
61-
Rscript -e 'packageVersion("lintr")'
62-
Rscript -e 'packageVersion("ggplot2")'
63-
Rscript -e 'packageVersion("cowplot")'
64-
Rscript -e 'packageVersion("ggpubr")'
65-
Rscript -e 'packageVersion("ggExtra")'
66-
Rscript -e 'packageVersion("exactextractr")'
67-
Rscript -e 'packageVersion("blockCV")'
50+
Rscript -e 'renv::install(c("scales@1.3.0", "pkgdown@2.0.7", "lintr@3.0.0", "sessioninfo@1.2.2", "ggplot2@3.5.2", "cowplot@1.1.3", "ggpubr@0.6.0", "ggExtra@0.10.1"))'
6851
6952
- name: Install packages from github
7053
run: |
@@ -79,6 +62,7 @@ jobs:
7962
env:
8063
_R_CHECK_FORCE_SUGGESTS_: false
8164
run: |
65+
Rscript -e 'packageVersion("ggplot2")'
8266
Rscript -e 'rcmdcheck::rcmdcheck(args="--no-manual", error_on="error")'
8367
8468
# - name: Install dependencies

0 commit comments

Comments
 (0)