Skip to content

Commit 334508e

Browse files
GHA: Vignettes fail in R (< 3.5.0) because isFALSE() is used somewhere in the pipeline
1 parent 0dc354c commit 334508e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
6565
- name: Install package itself (special case)
6666
run: |
6767
install.packages(".", repos = NULL, type = "source") ## self vignette engine
68-
if (getRversion() < "3.5.0") install.packages("https://cran.r-project.org/src/contrib/Archive/xfun/xfun_0.36.tar.gz")
6968
shell: Rscript {0}
7069

7170
- name: Session info
@@ -84,7 +83,7 @@ jobs:
8483
- name: Check
8584
run: |
8685
rcmdcheck::rcmdcheck(
87-
args = c("--no-manual", "--as-cran"),
86+
args = c("--no-manual", "--as-cran", if (getRversion() < "3.5.0") "--ignore-vignettes"),
8887
check_dir = "check"
8988
)
9089
shell: Rscript {0}

0 commit comments

Comments
 (0)