Skip to content

Commit 5f509af

Browse files
committed
Force installing ggplot2 version 3.5.2 to avoid CI errors
1 parent 261d6f4 commit 5f509af

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/lint.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,9 @@ jobs:
3030
with:
3131
use-public-rspm: true
3232

33-
- name: Ensure remotes is installed
34-
run: Rscript -e 'if (!requireNamespace("remotes", quietly = TRUE)) install.packages("remotes")'
35-
36-
- name: Install pinned package versions
33+
- name: Install packages, including some pinned package versions
3734
run: |
38-
Rscript -e 'remotes::install_version("ggplot2", version="3.5.2")'
35+
Rscript -e 'install.packages("remotes")'
3936
Rscript -e 'remotes::install_version("scales", version="1.3.0")'
4037
Rscript -e 'remotes::install_version("pkgdown", version="2.0.7")'
4138
Rscript -e 'remotes::install_version("lintr", version="3.0.0")'
@@ -44,15 +41,12 @@ jobs:
4441
Rscript -e 'remotes::install_version("cowplot", version="1.1.3")'
4542
Rscript -e 'remotes::install_version("ggpubr", version="0.6.0")'
4643
Rscript -e 'remotes::install_version("ggExtra", version="0.10.1")'
47-
48-
- name: Install GitHub dependencies
49-
run: |
5044
Rscript -e 'remotes::install_github("elgabbas/ecokit")'
5145
Rscript -e 'remotes::install_github("hmsc-r/HMSC")'
5246
5347
- name: Install remaining dependencies
5448
run: |
55-
Rscript -e 'remotes::install_deps(dependencies=c("Depends", "Imports")'
49+
Rscript -e 'remotes::install_deps(dependencies=c("Depends", "Imports"))'
5650
# Run R CMD check (without relying on r-lib/actions)
5751
- name: Run R CMD check
5852
run: |

0 commit comments

Comments
 (0)