Skip to content

Commit

Permalink
tests wont run with suppressWarnings on R < 4
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa committed Jan 23, 2024
1 parent 6a66ff4 commit 2afdb91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-scale_colour_r2dii.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ test_that("changes the plot fill as expected", {

test_that("with data having specific level factors, scales colours as expected
(#527)", {

skip_if(r_version_is_older_than(4))
data <- filter(sda, sector == "cement", region == "global")

input_levels <- c(
Expand Down

0 comments on commit 2afdb91

Please sign in to comment.