Skip to content

Commit

Permalink
Account for {checkmate} v2.0.0 update (mlr-org#2734)
Browse files Browse the repository at this point in the history
* Account for {checkmate} v2.0.0 (mlr-org#2734)
  • Loading branch information
pat-s authored and vrodriguezf committed Jan 16, 2021
1 parent 48d5c3b commit 6eab60f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test_tune_tuneParamsMultiCrit.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ test_that("tuneParamsMultiCrit", {
)
ctrl = makeTuneMultiCritControlRandom(maxit = 2)
expect_error(tuneParamsMultiCrit(lrn, binaryclass.task, rdesc,
par.set = ps, measures = mmce, control = ctrl),
".* May only contain the following types: Measure.")
par.set = ps, measures = list(mmce), control = ctrl),
".* Must have length >= 2, but has length 1.")

mycheck = function(res, k) {
expect_output(print(res), "Points on front")
Expand Down

0 comments on commit 6eab60f

Please sign in to comment.