Skip to content

Commit 16a9725

Browse files
committed
Force installing ggplot2 version 3.5.2 to avoid CI errors
1 parent 9358e38 commit 16a9725

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,14 @@ jobs:
6161
# run: |
6262
# 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"))'
6363

64-
- name: Install remaining dependencies
64+
- name: Install remaining dependencies and Run R CMD check
65+
env:
66+
_R_CHECK_FORCE_SUGGESTS_: false
6567
run: |
6668
Rscript -e 'remotes::install_deps(dependencies=c("Depends", "Imports"), upgrade = "never")'
6769
Rscript -e 'renv::install("ggplot2@3.5.2")'
70+
Rscript -e 'rcmdcheck::rcmdcheck(args="--no-manual", error_on="error")'
6871
69-
# Run R CMD check (without relying on r-lib/actions)
70-
# - name: Run R CMD check
71-
# env:
72-
# _R_CHECK_FORCE_SUGGESTS_: false
73-
# run: |
74-
# Rscript -e 'packageVersion("ggplot2")'
75-
# Rscript -e 'rcmdcheck::rcmdcheck(args="--no-manual", error_on="error")'
76-
7772
- name: Build site
7873
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
7974
shell: Rscript {0}

0 commit comments

Comments
 (0)