Skip to content

Commit b118168

Browse files
Fix CI failures on oldrel-4 (i.e. R 3.5) (#5068)
* Ignore installation failures of quantreg on R 3.5 * Skip tests using warnPartialMatchArgs=FALSE on R 3.5
1 parent 08832e7 commit b118168

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,8 @@ jobs:
6262
cache-version: 2
6363
extra-packages: >
6464
any::rcmdcheck,
65-
maps=?ignore-before-r=3.5.0,
6665
Hmisc=?ignore-before-r=3.6.0,
67-
mapproj=?ignore-before-r=3.5.0,
68-
multcomp=?ignore-before-r=3.5.0,
69-
quantreg=?ignore-before-r=3.5.0,
66+
quantreg=?ignore-before-r=3.6.0,
7067
needs: check
7168

7269
- uses: r-lib/actions/check-r-package@v2

tests/testthat/test-geom-quantile.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
test_that("geom_quantile matches quantile regression", {
2+
skip_if(packageVersion("base") < "3.6.0") # warnPartialMatchArgs didn't accept FALSE
23
withr::local_options(
34
warnPartialMatchArgs = FALSE,
45
warnPartialMatchDollar = FALSE

tests/testthat/test-geom-smooth.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ test_that("geom_smooth works in both directions", {
2222
})
2323

2424
test_that("default smoothing methods for small and large data sets work", {
25+
skip_if(packageVersion("base") < "3.6.0") # warnPartialMatchArgs didn't accept FALSE
2526
withr::local_options(warnPartialMatchArgs = FALSE)
2627
# Numeric differences on the MLK machine on CRAN makes these test fail
2728
# on that particular machine

0 commit comments

Comments
 (0)