Skip to content

Commit

Permalink
disable xgboost tests on cran
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Nov 21, 2023
1 parent 6e6427f commit b7f42ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test_classif_xgboost.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
skip_if_not_installed("xgboost")
skip_on_cran()

test_that("autotest", {
learner = mlr3::lrn("classif.xgboost", nrounds = 5L)
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test_regr_xgboost.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
skip_if_not_installed("xgboost")
skip_on_cran()

test_that("autotest", {
learner = mlr3::lrn("regr.xgboost", nrounds = 5L)
Expand Down

0 comments on commit b7f42ca

Please sign in to comment.