Skip to content

Commit

Permalink
put base_batchmark unit test in group "basenocran" so it does not run…
Browse files Browse the repository at this point in the history
… on winbuilder (#2210)
  • Loading branch information
berndbischl committed Mar 7, 2018
1 parent 9a0e004 commit f0393ed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run-base.R
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
library(testthat)
test_check("mlr", filter = "base")
test_check("mlr", filter = "base_")
4 changes: 4 additions & 0 deletions tests/run-basenocran.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
library(testthat)
if (identical(Sys.getenv("TRAVIS"), "true") || identical(Sys.getenv("R_EXPENSIVE_TEST_OK"), "true")) {
test_check("mlr", filter = "basenocran_")
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# the whole unit tests currently breaks on CRAN due to a problem with datatable on WB / rdevel
# see PR here:
# https://github.com/mlr-org/mlr/pull/2210

context("batchmark")

prev = getOption("batchtools.verbose")
Expand Down

0 comments on commit f0393ed

Please sign in to comment.