From 0752e7c6cf33dfd0372c5962a666f9480dea1a76 Mon Sep 17 00:00:00 2001 From: jgabry Date: Wed, 26 Jun 2024 15:20:40 -0600 Subject: [PATCH] Update helper.R --- tests/testthat/helper.R | 1 + 1 file changed, 1 insertion(+) 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"))