Skip to content

Commit

Permalink
Make test less vulnerable to cran
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy authored Feb 23, 2024
1 parent ba78708 commit c13a40c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c13a40c

Please sign in to comment.