Running ‘testthat.R’ [51s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library(testthat)
  +   library(checkmate)
  +   library(mlr3hyperband)
  + 
  +   test_check("mlr3hyperband")
  + }
  Loading required package: mlr3tuning
  Loading required package: mlr3
  Loading required package: paradox
  Starting 2 test processes
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 35 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_TunerSuccessiveHalving.R:6:3): TunerSuccessiveHalving ───────────
  Error in `mult_max_to_min(archive$codomain)`: could not find function "mult_max_to_min"
  Backtrace:
       █
    1. └─mlr3hyperband:::test_tuner_successive_halving(...)
    2.   └─tuner$optimize(instance) testthat/helper.R:139:2
    3.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
    4.       └─private$.optimizer$optimize(inst)
    5.         └─bbotk:::.__Optimizer__optimize(...)
    6.           └─bbotk::optimize_default(inst, self, private)
    7.             ├─base::tryCatch(...)
    8.             │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
    9.             │   └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.             │     └─base:::doTryCatch(return(expr), name, parentenv, handler)
   11.             └─private$.optimize(inst)
  ── Error (test_TunerHyperband.R:6:3): TunerHyperband works with TuningInstanceSingleCrit ──
  Error in `mult_max_to_min(archive$codomain)`: could not find function "mult_max_to_min"
  Backtrace:
       █
    1. └─mlr3hyperband:::test_tuner_hyperband(...)
    2.   ├─checkmate::expect_data_table(tuner$optimize(instance)) testthat/helper.R:48:2
    3.   │ └─checkmate::checkDataTable(...)
    4.   └─tuner$optimize(instance)
    5.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
    6.       └─private$.optimizer$optimize(inst)
    7.         └─bbotk:::.__Optimizer__optimize(...)
    8.           └─bbotk::optimize_default(inst, self, private)
    9.             ├─base::tryCatch(...)
   10.             │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
   11.             │   └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   12.             │     └─base:::doTryCatch(return(expr), name, parentenv, handler)
   13.             └─private$.optimize(inst)
  ── Error (test_TunerHyperband.R:15:3): TunerHyperband works with TuningInstanceMultiCrit ──
  Error in `mult_max_to_min(archive$codomain)`: could not find function "mult_max_to_min"
  Backtrace:
       █
    1. └─mlr3hyperband:::test_tuner_hyperband(...)
    2.   ├─checkmate::expect_data_table(tuner$optimize(instance)) testthat/helper.R:48:2
    3.   │ └─checkmate::checkDataTable(...)
    4.   └─tuner$optimize(instance) testthat/helper.R:48:2
    5.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
    6.       └─private$.optimizer$optimize(inst)
    7.         └─bbotk:::.__Optimizer__optimize(...)
    8.           └─bbotk::optimize_default(inst, self, private)
    9.             ├─base::tryCatch(...)
   10.             │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
   11.             │   └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   12.             │     └─base:::doTryCatch(return(expr), name, parentenv, handler)
   13.             └─private$.optimize(inst)
  ── Error (test_TunerHyperband.R:41:3): TunerHyperband works with subsampling ───
  Error in `mult_max_to_min(archive$codomain)`: could not find function "mult_max_to_min"
  Backtrace:
       █
    1. ├─checkmate::expect_data_table(tuner$optimize(instance))
    2. │ └─checkmate::checkDataTable(...)
    3. └─tuner$optimize(instance)
    4.   └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
    5.     └─private$.optimizer$optimize(inst)
    6.       └─bbotk:::.__Optimizer__optimize(...)
    7.         └─bbotk::optimize_default(inst, self, private)
    8.           ├─base::tryCatch(...)
    9.           │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
   10.           │   └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.           │     └─base:::doTryCatch(return(expr), name, parentenv, handler)
   12.           └─private$.optimize(inst)
  ── Error (test_TunerHyperband.R:68:3): TunerHyperband works with custom sampler ──
  Error in `mult_max_to_min(archive$codomain)`: could not find function "mult_max_to_min"
  Backtrace:
       █
    1. ├─checkmate::expect_data_table(tuner$optimize(instance))
    2. │ └─checkmate::checkDataTable(...)
    3. └─tuner$optimize(instance)
    4.   └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
    5.     └─private$.optimizer$optimize(inst)
    6.       └─bbotk:::.__Optimizer__optimize(...)
    7.         └─bbotk::optimize_default(inst, self, private)
    8.           ├─base::tryCatch(...)
    9.           │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
   10.           │   └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.           │     └─base:::doTryCatch(return(expr), name, parentenv, handler)
   12.           └─private$.optimize(inst)
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 35 ]
  Error: Test failures
  Execution halted