diff --git a/tests/testthat/helper.R b/tests/testthat/helper.R index 4807cc1c..11a14d29 100644 --- a/tests/testthat/helper.R +++ b/tests/testthat/helper.R @@ -3,6 +3,7 @@ expect_tz_warning <- function(object) { # use Replace all expect_tz_warning -> expect_no_warning # This is for R >= 4.3.0 # Issue #156 + skip_on_cran() # make it less vulnerable to CRAN checks if (getRversion() >= "4.3.0") { expect_warning(object, regexp = "tzone") } else {