Skip to content

Commit f0393ed

Browse files
authored
put base_batchmark unit test in group "basenocran" so it does not run on winbuilder (#2210)
1 parent 9a0e004 commit f0393ed

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

tests/run-base.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
library(testthat)
2-
test_check("mlr", filter = "base")
2+
test_check("mlr", filter = "base_")

tests/run-basenocran.R

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
library(testthat)
2+
if (identical(Sys.getenv("TRAVIS"), "true") || identical(Sys.getenv("R_EXPENSIVE_TEST_OK"), "true")) {
3+
test_check("mlr", filter = "basenocran_")
4+
}

tests/testthat/test_base_batchmark.R tests/testthat/test_basenocran_batchmark.R

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# the whole unit tests currently breaks on CRAN due to a problem with datatable on WB / rdevel
2+
# see PR here:
3+
# https://github.com/mlr-org/mlr/pull/2210
4+
15
context("batchmark")
26

37
prev = getOption("batchtools.verbose")

0 commit comments

Comments
 (0)