diff --git a/tests/testthat/test-annotate.R b/tests/testthat/test-annotate.R index df8b648831..118927b96d 100644 --- a/tests/testthat/test-annotate.R +++ b/tests/testthat/test-annotate.R @@ -30,7 +30,6 @@ test_that("segment annotations transform with scales", { test_that("annotation_* has dummy data assigned and don't inherit aes", { skip_if_not_installed("maps") - skip_if(packageVersion("base") < "3.5.0") custom <- annotation_custom(zeroGrob()) logtick <- annotation_logticks() usamap <- map_data("state") diff --git a/tests/testthat/test-coord-map.R b/tests/testthat/test-coord-map.R index 9a8c9dc0b1..ac3bec838d 100644 --- a/tests/testthat/test-coord-map.R +++ b/tests/testthat/test-coord-map.R @@ -1,7 +1,6 @@ test_that("USA state map drawn", { skip_if_not_installed("mapproj") # required for coord_map() skip_if_not_installed("maps") # required for map_data() - skip_if(packageVersion("base") < "3.5.0") us_map <- map_data("usa") p_us <- ggplot(us_map, aes(x = long, y = lat, group = group)) expect_doppelganger( @@ -15,7 +14,6 @@ test_that("USA state map drawn", { test_that("coord_map scale position can be switched", { skip_if_not_installed("mapproj") # required for coord_map() skip_if_not_installed("maps") # required for map_data() - skip_if(packageVersion("base") < "3.5.0") us_map <- map_data("usa") p_us <- ggplot(us_map, aes(x = long, y = lat, group = group)) expect_doppelganger( @@ -31,7 +29,6 @@ test_that("coord_map scale position can be switched", { test_that("Inf is squished to range", { skip_if_not_installed("mapproj") # required for coord_map() skip_if_not_installed("maps") # required for mproject() - skip_if(packageVersion("base") < "3.5.0") d <- cdata( ggplot(data_frame(x = 0, y = 0)) + geom_point(aes(x,y)) + diff --git a/tests/testthat/test-geom-hline-vline-abline.R b/tests/testthat/test-geom-hline-vline-abline.R index 8a324dcf4c..ec8a44bac1 100644 --- a/tests/testthat/test-geom-hline-vline-abline.R +++ b/tests/testthat/test-geom-hline-vline-abline.R @@ -28,7 +28,6 @@ test_that("check h/v/abline transformed on basic projections", { test_that("curved lines in map projections", { skip_if_not_installed("mapproj") # required for coord_map() skip_if_not_installed("maps") # required for map_data() - skip_if(packageVersion("base") < "3.5.0") nz <- subset(map_data("nz"), region == "North.Island ") nzmap <- ggplot(nz, aes(long, lat, group = group)) + geom_path() + diff --git a/tests/testthat/test-geom-quantile.R b/tests/testthat/test-geom-quantile.R index 7b6feecb9b..6b5109ab4d 100644 --- a/tests/testthat/test-geom-quantile.R +++ b/tests/testthat/test-geom-quantile.R @@ -1,5 +1,4 @@ test_that("geom_quantile matches quantile regression", { - skip_if(packageVersion("base") < "3.6.0") # warnPartialMatchArgs didn't accept FALSE withr::local_options( warnPartialMatchArgs = FALSE, warnPartialMatchDollar = FALSE diff --git a/tests/testthat/test-geom-smooth.R b/tests/testthat/test-geom-smooth.R index 270bf3760f..3632054440 100644 --- a/tests/testthat/test-geom-smooth.R +++ b/tests/testthat/test-geom-smooth.R @@ -24,7 +24,6 @@ test_that("geom_smooth works in both directions", { }) test_that("default smoothing methods for small and large data sets work", { - skip_if(packageVersion("base") < "3.6.0") # warnPartialMatchArgs didn't accept FALSE withr::local_options(warnPartialMatchArgs = FALSE) # Numeric differences on the MLK machine on CRAN makes these test fail # on that particular machine