Skip to content

Commit 594f1fa

Browse files
committed
also skip base tests on CRAN
1 parent 926c02c commit 594f1fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/run-base.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
library(testthat)
22

33
# no tests on CRAN
4-
set.seed(getOption("mlr.debug.seed"))
5-
test_check("mlr", filter = "base_")
4+
if (identical(Sys.getenv("NOT_CRAN"), "true")) {
5+
set.seed(getOption("mlr.debug.seed"))
6+
test_check("mlr", filter = "base_")
7+
}

0 commit comments

Comments
 (0)