diff --git a/tests/testthat/helper.R b/tests/testthat/helper.R index 32da1d45..60f2b721 100644 --- a/tests/testthat/helper.R +++ b/tests/testthat/helper.R @@ -1,6 +1,7 @@ # used to skip visual tests of SVGs on r-devel and r-oldrel # because they can be slightly different than r-release occasionally skip_if_not_r_release <- function() { + # first try just skipping on devel testthat::skip_if(isTRUE(Sys.getenv("R_VERSION_TYPE") == "devel")) #testthat::skip_if_not(isTRUE(Sys.getenv("R_VERSION_TYPE") == "release"))