From c13a40cd3c35437983e22fd12e33284507dd109d Mon Sep 17 00:00:00 2001 From: olivroy <52606734+olivroy@users.noreply.github.com> Date: Fri, 23 Feb 2024 09:58:24 -0500 Subject: [PATCH] Make test less vulnerable to cran --- tests/testthat/helper.R | 1 + 1 file changed, 1 insertion(+) 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 {