Running ‘testthat.R’ [104s/97s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("checkmate")
  +   library("mlr3tuning")
  +   test_check("mlr3tuning")
  + }
  Loading required package: mlr3
  Loading required package: paradox
  Starting 2 test processes
  [ FAIL 95 | WARN 0 | SKIP 1 | PASS 149 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test_mlr_callbacks.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ArchiveTuning.R:6:3'): ArchiveTuning access methods work ───────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("random_search", batch_size = 2) at test_ArchiveTuning.R:6:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    4.     │ └─checkmate::checkR6(...)
    5.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
    6.       ├─base::do.call(constructor$new, cargs)
    7.       └─R6 (local) `<fn>`()
    8.         └─mlr3tuning (local) initialize(...)
    9.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   10.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   11.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   12.                 └─bbotk::assert_optimizer(optimizer)
   13.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   14.                     └─checkmate::checkR6(...)
  ── Error ('test_ArchiveTuning.R:117:3'): ArchiveTuning as.data.table function works ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("random_search", batch_size = 2) at test_ArchiveTuning.R:117:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    4.     │ └─checkmate::checkR6(...)
    5.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
    6.       ├─base::do.call(constructor$new, cargs)
    7.       └─R6 (local) `<fn>`()
    8.         └─mlr3tuning (local) initialize(...)
    9.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   10.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   11.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   12.                 └─bbotk::assert_optimizer(optimizer)
   13.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   14.                     └─checkmate::checkR6(...)
  ── Error ('test_ObjectiveTuning.R:105:3'): tuner can modify resampling ─────────
  Error in ``$.R6`(self$archive, "add_evals")`: R6 class ArchiveTuning/Archive/R6 does not have slot 'add_evals'!
  Backtrace:
      ▆
   1. └─instance$eval_batch(data.table(cp = 0.001)) at test_ObjectiveTuning.R:105:3
   2.   └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
   3.     ├─self$archive$add_evals
   4.     └─global `$.R6`(self$archive, "add_evals")
  ── Error ('test_AutoTuner.R:9:3'): AutoTuner / train+predict ───────────────────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:9:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_AutoTuner.R:41:3'): AutoTuner / resample ───────────────────────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
       ▆
    1. └─mlr3::resample(tsk("iris"), at, r_outer, store_models = TRUE) at test_AutoTuner.R:41:3
    2.   └─mlr3:::future_map(...)
    3.     └─future.apply::future_mapply(...)
    4.       └─future.apply:::future_xapply(...)
    5.         ├─future::value(fs)
    6.         └─future:::value.list(fs)
    7.           ├─future::resolve(...)
    8.           └─future:::resolve.list(...)
    9.             └─future (local) signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   10.               └─future:::signalConditions(...)
  ── Error ('test_AutoTuner.R:66:3'): nested resamppling results are consistent  ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─AutoTuner$new(...) at test_AutoTuner.R:66:3
    2. │ └─mlr3tuning (local) initialize(...)
    3. │   └─mlr3tuning:::.__AutoTuner__initialize(...)
    4. │     └─mlr3tuning:::assert_tuner(tuner)
    5. │       └─checkmate::assert_r6(tuner, "Tuner")
    6. │         └─checkmate::checkR6(...)
    7. └─mlr3tuning::tnr("random_search")
    8.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    9.     └─mlr3misc:::dictionary_get(dict, .key)
   10.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─mlr3tuning (local) initialize(...)
   14.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   15.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   16.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   17.                   └─bbotk::assert_optimizer(optimizer)
   18.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   19.                       └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:90:3'): AT training does not change learner in instance args ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─AutoTuner$new(...) at test_AutoTuner.R:90:3
    2. │ └─mlr3tuning (local) initialize(...)
    3. │   └─mlr3tuning:::.__AutoTuner__initialize(...)
    4. │     └─mlr3tuning:::assert_tuner(tuner)
    5. │       └─checkmate::assert_r6(tuner, "Tuner")
    6. │         └─checkmate::checkR6(...)
    7. └─TunerRandomSearch$new()
    8.   └─mlr3tuning (local) initialize(...)
    9.     └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   10.       └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   11.         └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   12.           └─bbotk::assert_optimizer(optimizer)
   13.             └─checkmate::assert_r6(optimizer, "Optimizer")
   14.               └─checkmate::checkR6(...)
  ── Failure ('test_AutoTuner.R:116:3'): AutoTuner works with graphlearner ───────
  exists("validate", lrn) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      ▆
   1. └─global expect_learner(at) at test_AutoTuner.R:116:3
   2.   └─testthat::expect_true(exists("validate", lrn))
  ── Failure ('test_AutoTuner.R:116:3'): AutoTuner works with graphlearner ───────
  exists("internal_valid_scores", envir = lrn) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      ▆
   1. └─global expect_learner(at) at test_AutoTuner.R:116:3
   2.   └─testthat::expect_true(exists("internal_valid_scores", envir = lrn))
  ── Failure ('test_AutoTuner.R:116:3'): AutoTuner works with graphlearner ───────
  Check on 'mlr3misc::get_private(lrn)$.extract_internal_valid_scores' failed: Must be a function, not 'NULL'
  Backtrace:
      ▆
   1. └─global expect_learner(at) at test_AutoTuner.R:116:3
   2.   └─checkmate::expect_function(mlr3misc::get_private(lrn)$.extract_internal_valid_scores)
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Error ('test_AutoTuner.R:116:3'): AutoTuner works with graphlearner ─────────
  Error: at least one parameter must support internal tuning when the learner is tagged as such
  Backtrace:
      ▆
   1. └─global expect_learner(at) at test_AutoTuner.R:116:3
   2.   └─mlr3misc::stopf("at least one parameter must support internal tuning when the learner is tagged as such")
  ── Error ('test_AutoTuner.R:155:3'): Nested resampling works with graphlearner ──
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
       ▆
    1. └─mlr3::resample(task, at, resampling_outer, store_models = TRUE) at test_AutoTuner.R:155:3
    2.   └─mlr3:::future_map(...)
    3.     └─future.apply::future_mapply(...)
    4.       └─future.apply:::future_xapply(...)
    5.         ├─future::value(fs)
    6.         └─future:::value.list(fs)
    7.           ├─future::resolve(...)
    8.           └─future:::resolve.list(...)
    9.             └─future (local) signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   10.               └─future:::signalConditions(...)
  ── Error ('test_AutoTuner.R:184:3'): store_tuning_instance, store_benchmark_result and store_models flags work ──
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:184:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_AutoTuner.R:243:3'): predict_type works ────────────────────────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
       ▆
    1. └─at$train(task) at test_AutoTuner.R:243:3
    2.   └─mlr3:::.__Learner__train(...)
    3.     └─mlr3:::learner_train(...)
    4.       └─mlr3misc::encapsulate(...)
    5.         ├─mlr3misc::invoke(...)
    6.         │ └─base::eval.parent(expr, n = 1L)
    7.         │   └─base::eval(expr, p)
    8.         │     └─base::eval(expr, p)
    9.         └─mlr3 (local) .f(learner = `<AutoTunr>`, task = `<TskClssf>`)
   10.           └─get_private(learner)$.train(task)
   11.             └─mlr3tuning:::.__AutoTuner__.train(...)
   12.               └─self$tuner$optimize(instance)
   13.                 └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_AutoTuner.R:256:3'): search space from TuneToken works ─────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─AutoTuner$new(...) at test_AutoTuner.R:256:3
    2. │ └─mlr3tuning (local) initialize(...)
    3. │   └─mlr3tuning:::.__AutoTuner__initialize(...)
    4. │     └─mlr3tuning:::assert_tuner(tuner)
    5. │       └─checkmate::assert_r6(tuner, "Tuner")
    6. │         └─checkmate::checkR6(...)
    7. └─mlr3tuning::tnr("random_search")
    8.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    9.     └─mlr3misc:::dictionary_get(dict, .key)
   10.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─mlr3tuning (local) initialize(...)
   14.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   15.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   16.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   17.                   └─bbotk::assert_optimizer(optimizer)
   18.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   19.                       └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:280:3'): AutoTuner get_base_learner method works ───
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_AutoTuner.R:280:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search")
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor$new, cargs)
   13.         └─R6 (local) `<fn>`()
   14.           └─mlr3tuning (local) initialize(...)
   15.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   16.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   17.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   18.                   └─bbotk::assert_optimizer(optimizer)
   19.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   20.                       └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:349:3'): AutoTuner hash works #647 in mlr3 ─────────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
       ▆
    1. └─mlr3::benchmark(grid, store_models = TRUE) at test_AutoTuner.R:349:3
    2.   └─mlr3:::future_map(...)
    3.     └─future.apply::future_mapply(...)
    4.       └─future.apply:::future_xapply(...)
    5.         ├─future::value(fs)
    6.         └─future:::value.list(fs)
    7.           ├─future::resolve(...)
    8.           └─future:::resolve.list(...)
    9.             └─future (local) signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   10.               └─future:::signalConditions(...)
  ── Error ('test_AutoTuner.R:357:3'): AutoTuner works with empty search space ───
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_AutoTuner.R:357:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search", batch_size = 5)
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   11.     │ └─checkmate::checkR6(...)
   12.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   13.       ├─base::do.call(constructor$new, cargs)
   14.       └─R6 (local) `<fn>`()
   15.         └─mlr3tuning (local) initialize(...)
   16.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   17.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   18.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   19.                 └─bbotk::assert_optimizer(optimizer)
   20.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   21.                     └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:387:3'): AutoTuner importance method works ─────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_AutoTuner.R:387:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search", batch_size = 2)
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   11.     │ └─checkmate::checkR6(...)
   12.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   13.       ├─base::do.call(constructor$new, cargs)
   14.       └─R6 (local) `<fn>`()
   15.         └─mlr3tuning (local) initialize(...)
   16.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   17.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   18.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   19.                 └─bbotk::assert_optimizer(optimizer)
   20.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   21.                     └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:401:3'): AutoTuner selected_features method works ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_AutoTuner.R:401:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search", batch_size = 2)
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   11.     │ └─checkmate::checkR6(...)
   12.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   13.       ├─base::do.call(constructor$new, cargs)
   14.       └─R6 (local) `<fn>`()
   15.         └─mlr3tuning (local) initialize(...)
   16.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   17.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   18.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   19.                 └─bbotk::assert_optimizer(optimizer)
   20.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   21.                     └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:415:3'): AutoTuner oob_error method works ──────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_AutoTuner.R:415:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search", batch_size = 2)
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   11.     │ └─checkmate::checkR6(...)
   12.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   13.       ├─base::do.call(constructor$new, cargs)
   14.       └─R6 (local) `<fn>`()
   15.         └─mlr3tuning (local) initialize(...)
   16.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   17.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   18.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   19.                 └─bbotk::assert_optimizer(optimizer)
   20.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   21.                     └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:427:3'): AutoTuner loglik method works ─────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_AutoTuner.R:427:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search", batch_size = 2)
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   11.     │ └─checkmate::checkR6(...)
   12.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   13.       ├─base::do.call(constructor$new, cargs)
   14.       └─R6 (local) `<fn>`()
   15.         └─mlr3tuning (local) initialize(...)
   16.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   17.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   18.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   19.                 └─bbotk::assert_optimizer(optimizer)
   20.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   21.                     └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:449:3'): AutoTuner works with instantiated resampling ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_AutoTuner.R:449:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search")
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor$new, cargs)
   13.         └─R6 (local) `<fn>`()
   14.           └─mlr3tuning (local) initialize(...)
   15.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   16.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   17.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   18.                   └─bbotk::assert_optimizer(optimizer)
   19.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   20.                       └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:470:3'): AutoTuner errors when train set is not a subset of task ids ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_AutoTuner.R:470:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search")
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor$new, cargs)
   13.         └─R6 (local) `<fn>`()
   14.           └─mlr3tuning (local) initialize(...)
   15.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   16.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   17.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   18.                   └─bbotk::assert_optimizer(optimizer)
   19.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   20.                       └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:497:3'): AutoTuner errors when second train set is not a subset of task ids ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_AutoTuner.R:497:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search")
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor$new, cargs)
   13.         └─R6 (local) `<fn>`()
   14.           └─mlr3tuning (local) initialize(...)
   15.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   16.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   17.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   18.                   └─bbotk::assert_optimizer(optimizer)
   19.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   20.                       └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:524:3'): AutoTuner errors when test set is not a subset of task ids ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_AutoTuner.R:524:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search")
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor$new, cargs)
   13.         └─R6 (local) `<fn>`()
   14.           └─mlr3tuning (local) initialize(...)
   15.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   16.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   17.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   18.                   └─bbotk::assert_optimizer(optimizer)
   19.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   20.                       └─checkmate::checkR6(...)
  ── Error ('test_AutoTuner.R:551:3'): AutoTuner errors when second test set is not a subset of task ids ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_AutoTuner.R:551:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search")
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor$new, cargs)
   13.         └─R6 (local) `<fn>`()
   14.           └─mlr3tuning (local) initialize(...)
   15.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   16.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   17.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   18.                   └─bbotk::assert_optimizer(optimizer)
   19.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   20.                       └─checkmate::checkR6(...)
  ── Error ('test_TunerCmaes.R:3:1'): TunerCmaes ─────────────────────────────────
  Error in `.__TunerCmaes__initialize(self = self, private = private, super = super)`: object 'OptimizerCmaes' not found
  Backtrace:
       ▆
    1. ├─global expect_tuner(tnr("cmaes")) at test_TunerCmaes.R:3:1
    2. │ └─checkmate::expect_r6(...)
    3. │   └─checkmate::checkR6(...)
    4. └─mlr3tuning::tnr("cmaes")
    5.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    6.     └─mlr3misc:::dictionary_get(dict, .key)
    7.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    8.         ├─base::do.call(constructor$new, cargs)
    9.         └─R6 (local) `<fn>`()
   10.           └─mlr3tuning (local) initialize(...)
   11.             └─mlr3tuning:::.__TunerCmaes__initialize(...)
   12.               └─super$initialize(optimizer = OptimizerCmaes$new(), man = "mlr3tuning::mlr_tuners_cmaes")
   13.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   14.                   └─bbotk::assert_optimizer(optimizer)
   15.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   16.                       └─checkmate::checkR6(...)
  ── Error ('test_Tuner.R:3:5'): API ─────────────────────────────────────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
      ▆
   1. └─TunerRandomSearch$new() at test_Tuner.R:3:5
   2.   └─mlr3tuning (local) initialize(...)
   3.     └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   4.       └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   5.         └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   6.           └─bbotk::assert_optimizer(optimizer)
   7.             └─checkmate::assert_r6(optimizer, "Optimizer")
   8.               └─checkmate::checkR6(...)
  ── Error ('test_Tuner.R:21:3'): proper error if tuner cannot handle deps ───────
  Error in `.__TunerGenSA__initialize(self = self, private = private, super = super)`: object 'OptimizerGenSA' not found
  Backtrace:
      ▆
   1. └─TunerGenSA$new() at test_Tuner.R:21:3
   2.   └─mlr3tuning (local) initialize(...)
   3.     └─mlr3tuning:::.__TunerGenSA__initialize(...)
  ── Error ('test_Tuner.R:46:3'): we get a result when some subordinate params are not fulfilled ──
  Error in ``$.R6`(archive, "n_evals")`: R6 class ArchiveTuning/Archive/R6 does not have slot 'n_evals'!
  Backtrace:
       ▆
    1. ├─inst$eval_batch(d) at test_Tuner.R:46:3
    2. │ └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3. │   ├─self$is_terminated
    4. │   └─global `$.R6`(self, "is_terminated")
    5. │     └─base::get(name, envir = x)
    6. └─bbotk (local) `<fn>`()
    7.   └─bbotk:::.__OptimInstanceBatch__is_terminated(...)
    8.     └─self$terminator$is_terminated(self$archive)
    9.       └─bbotk:::.__TerminatorEvals__is_terminated(...)
   10.         ├─archive$n_evals
   11.         └─global `$.R6`(archive, "n_evals")
  ── Error ('test_Tuner.R:86:3'): optimize does not work in abstract class ───────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_error(tuner$optimize(inst), "abstract") at test_Tuner.R:86:3
   2. │ └─testthat:::expect_condition_matching(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─tuner$optimize(inst)
   8.   └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_Tuner.R:109:3'): Tuner works with graphlearner ─────────────────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─tuner$optimize(inst) at test_Tuner.R:109:3
   2.   └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_Tuner.R:139:3'): Tuner works with instantiated resampling ──────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
      ▆
   1. └─TunerRandomSearch$new() at test_Tuner.R:139:3
   2.   └─mlr3tuning (local) initialize(...)
   3.     └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   4.       └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   5.         └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   6.           └─bbotk::assert_optimizer(optimizer)
   7.             └─checkmate::assert_r6(optimizer, "Optimizer")
   8.               └─checkmate::checkR6(...)
  ── Error ('test_TunerDesignPoints.R:3:3'): TunerDesignPoints ───────────────────
  Error in `.__TunerDesignPoints__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerDesignPoints' not found
  Backtrace:
       ▆
    1. └─global test_tuner(...) at test_TunerDesignPoints.R:3:3
    2.   └─mlr3tuning::tnr(key, ...)
    3.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    4.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    5.       │ └─checkmate::checkR6(...)
    6.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
    7.         ├─base::do.call(constructor$new, cargs)
    8.         └─R6 (local) `<fn>`()
    9.           └─mlr3tuning (local) initialize(...)
   10.             └─mlr3tuning:::.__TunerDesignPoints__initialize(...)
   11.               └─super$initialize(optimizer = OptimizerDesignPoints$new(), man = "mlr3tuning::mlr_tuners_design_points")
   12.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   13.                   └─bbotk::assert_optimizer(optimizer)
   14.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   15.                       └─checkmate::checkR6(...)
  ── Error ('test_TunerGenSA.R:4:3'): TunerGenSA ─────────────────────────────────
  Error in `.__TunerGenSA__initialize(self = self, private = private, super = super)`: object 'OptimizerGenSA' not found
  Backtrace:
      ▆
   1. └─global test_tuner("gensa") at test_TunerGenSA.R:4:3
   2.   └─mlr3tuning::tnr(key, ...)
   3.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   4.       └─mlr3misc:::dictionary_get(dict, .key)
   5.         └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   6.           ├─base::do.call(constructor$new, cargs)
   7.           └─R6 (local) `<fn>`()
   8.             └─mlr3tuning (local) initialize(...)
   9.               └─mlr3tuning:::.__TunerGenSA__initialize(...)
  ── Error ('test_TunerGenSA.R:22:3'): TunerGenSA with int params and trafo ──────
  Error in `.__TunerGenSA__initialize(self = self, private = private, super = super)`: object 'OptimizerGenSA' not found
  Backtrace:
      ▆
   1. └─TunerGenSA$new() at test_TunerGenSA.R:22:3
   2.   └─mlr3tuning (local) initialize(...)
   3.     └─mlr3tuning:::.__TunerGenSA__initialize(...)
  ── Error ('test_TunerGenSA.R:30:3'): TunerGenSA - Optimize wrapper with maximize measure ──
  Error in `.__TunerGenSA__initialize(self = self, private = private, super = super)`: object 'OptimizerGenSA' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tnr("gensa", smooth = TRUE) at test_TunerGenSA.R:30:3
   2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   3.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   4.     │ └─checkmate::checkR6(...)
   5.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   6.       ├─base::do.call(constructor$new, cargs)
   7.       └─R6 (local) `<fn>`()
   8.         └─mlr3tuning (local) initialize(...)
   9.           └─mlr3tuning:::.__TunerGenSA__initialize(...)
  ── Error ('test_TunerIrace.R:4:3'): TunerIrace ─────────────────────────────────
  Error in `.__TunerIrace__initialize(self = self, private = private, super = super)`: object 'OptimizerIrace' not found
  Backtrace:
      ▆
   1. └─global test_tuner("irace", term_evals = 42, real_evals = 39) at test_TunerIrace.R:4:3
   2.   └─mlr3tuning::tnr(key, ...)
   3.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   4.       └─mlr3misc:::dictionary_get(dict, .key)
   5.         └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   6.           ├─base::do.call(constructor$new, cargs)
   7.           └─R6 (local) `<fn>`()
   8.             └─mlr3tuning (local) initialize(...)
   9.               └─mlr3tuning:::.__TunerIrace__initialize(...)
  ── Error ('test_TunerIrace.R:31:3'): TunerIrace works with dependencies ────────
  Error in `.__TunerIrace__initialize(self = self, private = private, super = super)`: object 'OptimizerIrace' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tnr("irace") at test_TunerIrace.R:31:3
   2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key)
   4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   5.         ├─base::do.call(constructor$new, cargs)
   6.         └─R6 (local) `<fn>`()
   7.           └─mlr3tuning (local) initialize(...)
   8.             └─mlr3tuning:::.__TunerIrace__initialize(...)
  ── Error ('test_TunerIrace.R:43:3'): TunerIrace works with logical parameters ──
  Error in `.__TunerIrace__initialize(self = self, private = private, super = super)`: object 'OptimizerIrace' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tnr("irace") at test_TunerIrace.R:43:3
   2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key)
   4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   5.         ├─base::do.call(constructor$new, cargs)
   6.         └─R6 (local) `<fn>`()
   7.           └─mlr3tuning (local) initialize(...)
   8.             └─mlr3tuning:::.__TunerIrace__initialize(...)
  ── Error ('test_TunerIrace.R:52:3'): TunerIrace uses digits ────────────────────
  Error in `.__TunerIrace__initialize(self = self, private = private, super = super)`: object 'OptimizerIrace' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tnr("irace", nbIterations = 1L, minNbSurvival = 1) at test_TunerIrace.R:52:3
   2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   3.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   4.     │ └─checkmate::checkR6(...)
   5.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   6.       ├─base::do.call(constructor$new, cargs)
   7.       └─R6 (local) `<fn>`()
   8.         └─mlr3tuning (local) initialize(...)
   9.           └─mlr3tuning:::.__TunerIrace__initialize(...)
  ── Error ('test_TunerIrace.R:61:3'): TunerIrace works with unnamed discrete values ──
  Error in `.__TunerIrace__initialize(self = self, private = private, super = super)`: object 'OptimizerIrace' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tnr("irace") at test_TunerIrace.R:61:3
   2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key)
   4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   5.         ├─base::do.call(constructor$new, cargs)
   6.         └─R6 (local) `<fn>`()
   7.           └─mlr3tuning (local) initialize(...)
   8.             └─mlr3tuning:::.__TunerIrace__initialize(...)
  ── Error ('test_TunerGridSearch.R:2:3'): TunerGridSearch ───────────────────────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─global test_tuner(...) at test_TunerGridSearch.R:2:3
   2.   └─tuner$optimize(inst)
   3.     └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_TunerGridSearch.R:22:3'): TunerGridSearch with TerminatorNone ──
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─tuner$optimize(inst) at test_TunerGridSearch.R:22:3
   2.   └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_TunerGridSearch.R:31:3'): TunerGridSearch works with forward hotstart parameter ──
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_TunerGridSearch.R:31:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_TunerGridSearch.R:51:3'): TunerGridSearch works with forward hotstart parameter ──
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_TunerGridSearch.R:51:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_TunerGridSearch.R:71:3'): TunerGridSearch works with forward and backward hotstart parameter ──
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_TunerGridSearch.R:71:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_TunerNLoptr.R:3:3'): TunerNLoptr ───────────────────────────────
  Error in `.__TunerNLoptr__initialize(self = self, private = private, super = super)`: object 'OptimizerNLoptr' not found
  Backtrace:
       ▆
    1. └─global test_tuner("nloptr", algorithm = "NLOPT_LN_BOBYQA", term_evals = 4) at test_TunerNLoptr.R:3:3
    2.   └─mlr3tuning::tnr(key, ...)
    3.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    4.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    5.       │ └─checkmate::checkR6(...)
    6.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
    7.         ├─base::do.call(constructor$new, cargs)
    8.         └─R6 (local) `<fn>`()
    9.           └─mlr3tuning (local) initialize(...)
   10.             └─mlr3tuning:::.__TunerNLoptr__initialize(...)
   11.               └─super$initialize(optimizer = OptimizerNLoptr$new(), man = "mlr3tuning::mlr_tuners_nloptr")
   12.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   13.                   └─bbotk::assert_optimizer(optimizer)
   14.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   15.                       └─checkmate::checkR6(...)
  ── Error ('test_TunerRandomSearch.R:2:3'): TunerRandomSearch ───────────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─global test_tuner("random_search") at test_TunerRandomSearch.R:2:3
    2.   └─mlr3tuning::tnr(key, ...)
    3.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    4.       └─mlr3misc:::dictionary_get(dict, .key)
    5.         └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    6.           ├─base::do.call(constructor$new, cargs)
    7.           └─R6 (local) `<fn>`()
    8.             └─mlr3tuning (local) initialize(...)
    9.               └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   10.                 └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   11.                   └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   12.                     └─bbotk::assert_optimizer(optimizer)
   13.                       └─checkmate::assert_r6(optimizer, "Optimizer")
   14.                         └─checkmate::checkR6(...)
  ── Error ('test_TuningInstanceMultiCrit.R:15:3'): tuning with multiple objectives ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("random_search") at test_TuningInstanceMultiCrit.R:15:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     └─mlr3misc:::dictionary_get(dict, .key)
    4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    5.         ├─base::do.call(constructor$new, cargs)
    6.         └─R6 (local) `<fn>`()
    7.           └─mlr3tuning (local) initialize(...)
    8.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
    9.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   10.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   11.                   └─bbotk::assert_optimizer(optimizer)
   12.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   13.                       └─checkmate::checkR6(...)
  ── Error ('test_TuningInstanceMultiCrit.R:35:3'): store_benchmark_result and store_models flag works ──
  Error in ``$.R6`(archive, "n_evals")`: R6 class ArchiveTuning/Archive/R6 does not have slot 'n_evals'!
  Backtrace:
       ▆
    1. ├─inst$eval_batch(...) at test_TuningInstanceMultiCrit.R:35:3
    2. │ └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3. │   ├─self$is_terminated
    4. │   └─global `$.R6`(self, "is_terminated")
    5. │     └─base::get(name, envir = x)
    6. └─bbotk (local) `<fn>`()
    7.   └─bbotk:::.__OptimInstanceBatch__is_terminated(...)
    8.     └─self$terminator$is_terminated(self$archive)
    9.       └─bbotk:::.__TerminatorEvals__is_terminated(...)
   10.         ├─archive$n_evals
   11.         └─global `$.R6`(archive, "n_evals")
  ── Error ('test_TuningInstanceMultiCrit.R:59:3'): check_values flag with parameter set dependencies ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("random_search") at test_TuningInstanceMultiCrit.R:59:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     └─mlr3misc:::dictionary_get(dict, .key)
    4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    5.         ├─base::do.call(constructor$new, cargs)
    6.         └─R6 (local) `<fn>`()
    7.           └─mlr3tuning (local) initialize(...)
    8.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
    9.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   10.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   11.                   └─bbotk::assert_optimizer(optimizer)
   12.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   13.                       └─checkmate::checkR6(...)
  ── Error ('test_TuningInstanceMultiCrit.R:113:3'): TuneToken and result_learner_param_vals works ──
  Error in `.__TunerDesignPoints__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerDesignPoints' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("design_points", design = xdt) at test_TuningInstanceMultiCrit.R:113:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    4.     │ └─checkmate::checkR6(...)
    5.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
    6.       ├─base::do.call(constructor$new, cargs)
    7.       └─R6 (local) `<fn>`()
    8.         └─mlr3tuning (local) initialize(...)
    9.           └─mlr3tuning:::.__TunerDesignPoints__initialize(...)
   10.             └─super$initialize(optimizer = OptimizerDesignPoints$new(), man = "mlr3tuning::mlr_tuners_design_points")
   11.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   12.                 └─bbotk::assert_optimizer(optimizer)
   13.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   14.                     └─checkmate::checkR6(...)
  ── Error ('test_TuningInstanceMultiCrit.R:122:3'): TuningInstanceMultiCrit and empty search space works ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_TuningInstanceMultiCrit.R:122:3
    2. │ └─mlr3tuning:::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("random_search", batch_size = 5)
    6.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    7.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    8.     │ └─checkmate::checkR6(...)
    9.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   10.       ├─base::do.call(constructor$new, cargs)
   11.       └─R6 (local) `<fn>`()
   12.         └─mlr3tuning (local) initialize(...)
   13.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   14.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   15.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   16.                 └─bbotk::assert_optimizer(optimizer)
   17.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   18.                     └─checkmate::checkR6(...)
  ── Error ('test_auto_tuner.R:5:3'): auto_tuner function works ──────────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_auto_tuner.R:5:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search", batch_size = 10)
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   11.     │ └─checkmate::checkR6(...)
   12.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   13.       ├─base::do.call(constructor$new, cargs)
   14.       └─R6 (local) `<fn>`()
   15.         └─mlr3tuning (local) initialize(...)
   16.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   17.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   18.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   19.                 └─bbotk::assert_optimizer(optimizer)
   20.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   21.                     └─checkmate::checkR6(...)
  ── Error ('test_error_handling.R:8:3'): failing learner ────────────────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("random_search") at test_error_handling.R:8:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     └─mlr3misc:::dictionary_get(dict, .key)
    4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    5.         ├─base::do.call(constructor$new, cargs)
    6.         └─R6 (local) `<fn>`()
    7.           └─mlr3tuning (local) initialize(...)
    8.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
    9.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   10.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   11.                   └─bbotk::assert_optimizer(optimizer)
   12.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   13.                       └─checkmate::checkR6(...)
  ── Error ('test_error_handling.R:33:3'): predictions missing ───────────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("random_search") at test_error_handling.R:33:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     └─mlr3misc:::dictionary_get(dict, .key)
    4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    5.         ├─base::do.call(constructor$new, cargs)
    6.         └─R6 (local) `<fn>`()
    7.           └─mlr3tuning (local) initialize(...)
    8.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
    9.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   10.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   11.                   └─bbotk::assert_optimizer(optimizer)
   12.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   13.                       └─checkmate::checkR6(...)
  ── Error ('test_extract_inner_tuning_archives.R:11:3'): extract_inner_tuning_archives function works ──
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
       ▆
    1. └─mlr3::resample(task, at, resampling_outer, store_models = TRUE) at test_extract_inner_tuning_archives.R:11:3
    2.   └─mlr3:::future_map(...)
    3.     └─future.apply::future_mapply(...)
    4.       └─future.apply:::future_xapply(...)
    5.         ├─future::value(fs)
    6.         └─future:::value.list(fs)
    7.           ├─future::resolve(...)
    8.           └─future:::resolve.list(...)
    9.             └─future (local) signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   10.               └─future:::signalConditions(...)
  ── Error ('test_extract_inner_tuning_results.R:6:3'): extract_inner_tuning_results function works ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("random_search") at test_extract_inner_tuning_results.R:6:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     └─mlr3misc:::dictionary_get(dict, .key)
    4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    5.         ├─base::do.call(constructor$new, cargs)
    6.         └─R6 (local) `<fn>`()
    7.           └─mlr3tuning (local) initialize(...)
    8.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
    9.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   10.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   11.                   └─bbotk::assert_optimizer(optimizer)
   12.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   13.                       └─checkmate::checkR6(...)
  ── Error ('test_extract_inner_tuning_results.R:122:3'): extract_inner_tuning_results returns tuning_instance ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::auto_tuner(...) at test_extract_inner_tuning_results.R:122:3
    2. │ └─AutoTuner$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__AutoTuner__initialize(...)
    5. │       └─mlr3tuning:::assert_tuner(tuner)
    6. │         └─checkmate::assert_r6(tuner, "Tuner")
    7. │           └─checkmate::checkR6(...)
    8. └─mlr3tuning::tnr("random_search")
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor$new, cargs)
   13.         └─R6 (local) `<fn>`()
   14.           └─mlr3tuning (local) initialize(...)
   15.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   16.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   17.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   18.                   └─bbotk::assert_optimizer(optimizer)
   19.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   20.                       └─checkmate::checkR6(...)
  ── Error ('test_TuningInstanceSingleCrit.R:4:3'): TuningInstanceSingleCrit ─────
  Error in ``$.R6`(inst$archive, data)`: R6 class ArchiveTuning/Archive/R6 does not have slot 'data'!
  Backtrace:
      ▆
   1. ├─checkmate::expect_data_table(inst$archive$data, nrows = 0) at test_TuningInstanceSingleCrit.R:4:3
   2. │ └─checkmate::checkDataTable(...)
   3. ├─inst$archive$data
   4. └─global `$.R6`(inst$archive, data)
  ── Error ('test_TuningInstanceSingleCrit.R:46:3'): archive one row (#40) ───────
  Error in ``$.R6`(archive, "n_evals")`: R6 class ArchiveTuning/Archive/R6 does not have slot 'n_evals'!
  Backtrace:
       ▆
    1. ├─inst$eval_batch(data.table(cp = 0.1)) at test_TuningInstanceSingleCrit.R:46:3
    2. │ └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3. │   ├─self$is_terminated
    4. │   └─global `$.R6`(self, "is_terminated")
    5. │     └─base::get(name, envir = x)
    6. └─bbotk (local) `<fn>`()
    7.   └─bbotk:::.__OptimInstanceBatch__is_terminated(...)
    8.     └─self$terminator$is_terminated(self$archive)
    9.       └─bbotk:::.__TerminatorEvals__is_terminated(...)
   10.         ├─archive$n_evals
   11.         └─global `$.R6`(archive, "n_evals")
  ── Error ('test_TuningInstanceSingleCrit.R:55:3'): eval_batch and termination ──
  Error in ``$.R6`(archive, "n_evals")`: R6 class ArchiveTuning/Archive/R6 does not have slot 'n_evals'!
  Backtrace:
       ▆
    1. ├─inst$eval_batch(design[1:2, ]) at test_TuningInstanceSingleCrit.R:55:3
    2. │ └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3. │   ├─self$is_terminated
    4. │   └─global `$.R6`(self, "is_terminated")
    5. │     └─base::get(name, envir = x)
    6. └─bbotk (local) `<fn>`()
    7.   └─bbotk:::.__OptimInstanceBatch__is_terminated(...)
    8.     └─self$terminator$is_terminated(self$archive)
    9.       └─bbotk:::.__TerminatorEvals__is_terminated(...)
   10.         ├─archive$n_evals
   11.         └─global `$.R6`(archive, "n_evals")
  ── Error ('test_TuningInstanceSingleCrit.R:76:3'): the same experiment can be added twice ──
  Error in ``$.R6`(archive, "n_evals")`: R6 class ArchiveTuning/Archive/R6 does not have slot 'n_evals'!
  Backtrace:
       ▆
    1. ├─inst$eval_batch(d) at test_TuningInstanceSingleCrit.R:76:3
    2. │ └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3. │   ├─self$is_terminated
    4. │   └─global `$.R6`(self, "is_terminated")
    5. │     └─base::get(name, envir = x)
    6. └─bbotk (local) `<fn>`()
    7.   └─bbotk:::.__OptimInstanceBatch__is_terminated(...)
    8.     └─self$terminator$is_terminated(self$archive)
    9.       └─bbotk:::.__TerminatorEvals__is_terminated(...)
   10.         ├─archive$n_evals
   11.         └─global `$.R6`(archive, "n_evals")
  ── Error ('test_TuningInstanceSingleCrit.R:96:3'): tuning with custom resampling ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("random_search") at test_TuningInstanceSingleCrit.R:96:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     └─mlr3misc:::dictionary_get(dict, .key)
    4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    5.         ├─base::do.call(constructor$new, cargs)
    6.         └─R6 (local) `<fn>`()
    7.           └─mlr3tuning (local) initialize(...)
    8.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
    9.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   10.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   11.                   └─bbotk::assert_optimizer(optimizer)
   12.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   13.                       └─checkmate::checkR6(...)
  ── Error ('test_TuningInstanceSingleCrit.R:131:3'): non-scalar hyperpars (#201) ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("random_search") at test_TuningInstanceSingleCrit.R:131:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     └─mlr3misc:::dictionary_get(dict, .key)
    4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    5.         ├─base::do.call(constructor$new, cargs)
    6.         └─R6 (local) `<fn>`()
    7.           └─mlr3tuning (local) initialize(...)
    8.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
    9.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   10.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   11.                   └─bbotk::assert_optimizer(optimizer)
   12.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   13.                       └─checkmate::checkR6(...)
  ── Error ('test_TuningInstanceSingleCrit.R:139:3'): store_benchmark_result and store_models flag works ──
  Error in ``$.R6`(archive, "n_evals")`: R6 class ArchiveTuning/Archive/R6 does not have slot 'n_evals'!
  Backtrace:
       ▆
    1. ├─inst$eval_batch(...) at test_TuningInstanceSingleCrit.R:139:3
    2. │ └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
    3. │   ├─self$is_terminated
    4. │   └─global `$.R6`(self, "is_terminated")
    5. │     └─base::get(name, envir = x)
    6. └─bbotk (local) `<fn>`()
    7.   └─bbotk:::.__OptimInstanceBatch__is_terminated(...)
    8.     └─self$terminator$is_terminated(self$archive)
    9.       └─bbotk:::.__TerminatorEvals__is_terminated(...)
   10.         ├─archive$n_evals
   11.         └─global `$.R6`(archive, "n_evals")
  ── Error ('test_TuningInstanceSingleCrit.R:169:3'): check_values flag with parameter set dependencies ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("random_search") at test_TuningInstanceSingleCrit.R:169:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     └─mlr3misc:::dictionary_get(dict, .key)
    4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    5.         ├─base::do.call(constructor$new, cargs)
    6.         └─R6 (local) `<fn>`()
    7.           └─mlr3tuning (local) initialize(...)
    8.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
    9.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   10.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   11.                   └─bbotk::assert_optimizer(optimizer)
   12.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   13.                       └─checkmate::checkR6(...)
  ── Error ('test_TuningInstanceSingleCrit.R:222:3'): TuneToken and result_learner_param_vals works ──
  Error in `.__TunerDesignPoints__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerDesignPoints' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("design_points", design = xdt) at test_TuningInstanceSingleCrit.R:222:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    4.     │ └─checkmate::checkR6(...)
    5.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
    6.       ├─base::do.call(constructor$new, cargs)
    7.       └─R6 (local) `<fn>`()
    8.         └─mlr3tuning (local) initialize(...)
    9.           └─mlr3tuning:::.__TunerDesignPoints__initialize(...)
   10.             └─super$initialize(optimizer = OptimizerDesignPoints$new(), man = "mlr3tuning::mlr_tuners_design_points")
   11.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   12.                 └─bbotk::assert_optimizer(optimizer)
   13.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   14.                     └─checkmate::checkR6(...)
  ── Error ('test_TuningInstanceSingleCrit.R:233:3'): TuningInstanceSingleCrit and empty search space works ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_TuningInstanceSingleCrit.R:233:3
    2. │ └─mlr3tuning:::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("random_search", batch_size = 5)
    6.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    7.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    8.     │ └─checkmate::checkR6(...)
    9.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   10.       ├─base::do.call(constructor$new, cargs)
   11.       └─R6 (local) `<fn>`()
   12.         └─mlr3tuning (local) initialize(...)
   13.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   14.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   15.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   16.                 └─bbotk::assert_optimizer(optimizer)
   17.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   18.                     └─checkmate::checkR6(...)
  ── Error ('test_hotstart.R:5:3'): hotstart works forwards ──────────────────────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_hotstart.R:5:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_hotstart.R:26:3'): hotstart works backwards ────────────────────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_hotstart.R:26:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_hotstart.R:47:3'): hotstart works forwards and backwards ───────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_hotstart.R:47:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_hotstart.R:67:3'): hotstart flag is not set to TRUE if learners does not support hotstarting ──
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_hotstart.R:67:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_hotstart.R:84:3'): models are discarded after storing them in the stack ──
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_hotstart.R:84:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_hotstart.R:107:3'): objects are cloned ─────────────────────────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_hotstart.R:107:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_mlr_callbacks.R:52:3'): backup callback works ──────────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_mlr_callbacks.R:52:3
    2. │ └─mlr3tuning:::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("random_search", batch_size = 2)
    6.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    7.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    8.     │ └─checkmate::checkR6(...)
    9.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   10.       ├─base::do.call(constructor$new, cargs)
   11.       └─R6 (local) `<fn>`()
   12.         └─mlr3tuning (local) initialize(...)
   13.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   14.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   15.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   16.                 └─bbotk::assert_optimizer(optimizer)
   17.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   18.                     └─checkmate::checkR6(...)
  ── Error ('test_mlr_callbacks.R:69:3'): backup callback works with standalone tuner ──
  Error: 'CallbackOptimization' is not an exported object from 'namespace:bbotk'
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_mlr_callbacks.R:69:3
    2. │ └─TuningInstance$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__TuningInstanceSingleCrit__initialize(...)
    5. │       └─ObjectiveTuning$new(...)
    6. │         └─mlr3tuning (local) initialize(...)
    7. │           └─mlr3tuning:::.__ObjectiveTuning__initialize(...)
    8. │             ├─mlr3misc::assert_callbacks(as_callbacks(callbacks))
    9. │             │ └─base::lapply(callbacks, assert_callback)
   10. │             └─mlr3misc::as_callbacks(callbacks)
   11. └─mlr3misc::clbk("mlr3tuning.backup", path = file)
   12.   └─mlr3misc::dictionary_sugar_get(mlr_callbacks, .key)
   13.     └─mlr3misc:::dictionary_get(dict, .key)
   14.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   15.         ├─base::do.call(constructor, cargs)
   16.         └─mlr3tuning (local) `<fn>`()
   17.           └─mlr3tuning::callback_tuning(...)
   18.             └─CallbackTuning$new(id, label, man)
   19.               └─R6 (local) get_inherit()
   20.                 └─base::eval(inherit, parent_env, NULL)
   21.                   └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_mlr_tuners.R:2:3'): mlr_tuners ─────────────────────────────────
  Error in `.__TunerCmaes__initialize(self = self, private = private, super = super)`: object 'OptimizerCmaes' not found
  Backtrace:
       ▆
    1. └─global expect_dictionary(mlr_tuners, min_items = 1L) at test_mlr_tuners.R:2:3
    2.   ├─checkmate::expect_data_table(...)
    3.   │ └─checkmate::checkDataTable(...)
    4.   ├─data.table::as.data.table(d)
    5.   └─mlr3tuning:::as.data.table.DictionaryTuner(d)
    6.     ├─data.table::setkeyv(...)
    7.     │ └─data.table::is.data.table(x)
    8.     └─mlr3misc::map_dtr(...)
    9.       ├─data.table::rbindlist(...)
   10.       ├─base::unname(map(.x, .f, ...))
   11.       └─mlr3misc::map(.x, .f, ...)
   12.         └─base::lapply(.x, .f, ...)
   13.           └─mlr3tuning (local) FUN(X[[i]], ...)
   14.             ├─base::withCallingHandlers(x$get(key), packageNotFoundWarning = function(w) invokeRestart("muffleWarning"))
   15.             └─x$get(key)
   16.               ├─mlr3misc::invoke(dictionary_get, self = self, key = key, .args = args)
   17.               │ └─base::eval.parent(expr, n = 1L)
   18.               │   └─base::eval(expr, p)
   19.               │     └─base::eval(expr, p)
   20.               └─mlr3misc:::dictionary_get(self = self, key = key)
   21.                 └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   22.                   ├─base::do.call(constructor$new, cargs)
   23.                   └─R6 (local) `<fn>`()
   24.                     └─mlr3tuning (local) initialize(...)
   25.                       └─mlr3tuning:::.__TunerCmaes__initialize(...)
   26.                         └─super$initialize(optimizer = OptimizerCmaes$new(), man = "mlr3tuning::mlr_tuners_cmaes")
   27.                           └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   28.                             └─bbotk::assert_optimizer(optimizer)
   29.                               └─checkmate::assert_r6(optimizer, "Optimizer")
   30.                                 └─checkmate::checkR6(...)
  ── Error ('test_mlr_tuners.R:12:3'): mlr_tuners sugar ──────────────────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─checkmate::expect_class(tnr("random_search"), "Tuner") at test_mlr_tuners.R:12:3
    2. │ └─checkmate::checkClass(x, classes, ordered, null.ok)
    3. └─mlr3tuning::tnr("random_search")
    4.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    5.     └─mlr3misc:::dictionary_get(dict, .key)
    6.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    7.         ├─base::do.call(constructor$new, cargs)
    8.         └─R6 (local) `<fn>`()
    9.           └─mlr3tuning (local) initialize(...)
   10.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   11.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   12.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   13.                   └─bbotk::assert_optimizer(optimizer)
   14.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   15.                       └─checkmate::checkR6(...)
  ── Error ('test_mlr_tuners.R:17:3'): as.data.table objects parameter ───────────
  Error in `.__TunerCmaes__initialize(self = self, private = private, super = super)`: object 'OptimizerCmaes' not found
  Backtrace:
       ▆
    1. ├─data.table::as.data.table(mlr_tuners, objects = TRUE) at test_mlr_tuners.R:17:3
    2. └─mlr3tuning:::as.data.table.DictionaryTuner(mlr_tuners, objects = TRUE)
    3.   ├─data.table::setkeyv(...)
    4.   │ └─data.table::is.data.table(x)
    5.   └─mlr3misc::map_dtr(...)
    6.     ├─data.table::rbindlist(...)
    7.     ├─base::unname(map(.x, .f, ...))
    8.     └─mlr3misc::map(.x, .f, ...)
    9.       └─base::lapply(.x, .f, ...)
   10.         └─mlr3tuning (local) FUN(X[[i]], ...)
   11.           ├─base::withCallingHandlers(x$get(key), packageNotFoundWarning = function(w) invokeRestart("muffleWarning"))
   12.           └─x$get(key)
   13.             ├─mlr3misc::invoke(dictionary_get, self = self, key = key, .args = args)
   14.             │ └─base::eval.parent(expr, n = 1L)
   15.             │   └─base::eval(expr, p)
   16.             │     └─base::eval(expr, p)
   17.             └─mlr3misc:::dictionary_get(self = self, key = key)
   18.               └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   19.                 ├─base::do.call(constructor$new, cargs)
   20.                 └─R6 (local) `<fn>`()
   21.                   └─mlr3tuning (local) initialize(...)
   22.                     └─mlr3tuning:::.__TunerCmaes__initialize(...)
   23.                       └─super$initialize(optimizer = OptimizerCmaes$new(), man = "mlr3tuning::mlr_tuners_cmaes")
   24.                         └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   25.                           └─bbotk::assert_optimizer(optimizer)
   26.                             └─checkmate::assert_r6(optimizer, "Optimizer")
   27.                               └─checkmate::checkR6(...)
  ── Error ('test_trafos.R:8:3'): simple exp trafo works ─────────────────────────
  Error in `.__TunerDesignPoints__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerDesignPoints' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("design_points", design = d) at test_trafos.R:8:3
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    4.     │ └─checkmate::checkR6(...)
    5.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
    6.       ├─base::do.call(constructor$new, cargs)
    7.       └─R6 (local) `<fn>`()
    8.         └─mlr3tuning (local) initialize(...)
    9.           └─mlr3tuning:::.__TunerDesignPoints__initialize(...)
   10.             └─super$initialize(optimizer = OptimizerDesignPoints$new(), man = "mlr3tuning::mlr_tuners_design_points")
   11.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   12.                 └─bbotk::assert_optimizer(optimizer)
   13.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   14.                     └─checkmate::checkR6(...)
  ── Error ('test_trafos.R:34:3'): trafo where param names change ────────────────
  Error in `.__Tuner__optimize(self = self, private = private, super = super, 
      inst = inst)`: object 'ContextOptimization' not found
  Backtrace:
      ▆
   1. └─tuner$optimize(inst) at test_trafos.R:34:3
   2.   └─mlr3tuning:::.__Tuner__optimize(...)
  ── Error ('test_tune_nested.R:5:3'): tune_nested function works ────────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune_nested(...) at test_tune_nested.R:5:3
    2. │ └─mlr3tuning::auto_tuner(...)
    3. │   └─AutoTuner$new(...)
    4. │     └─mlr3tuning (local) initialize(...)
    5. │       └─mlr3tuning:::.__AutoTuner__initialize(...)
    6. │         └─mlr3tuning:::assert_tuner(tuner)
    7. │           └─checkmate::assert_r6(tuner, "Tuner")
    8. │             └─checkmate::checkR6(...)
    9. └─mlr3tuning::tnr("random_search", batch_size = 1)
   10.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   11.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   12.     │ └─checkmate::checkR6(...)
   13.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   14.       ├─base::do.call(constructor$new, cargs)
   15.       └─R6 (local) `<fn>`()
   16.         └─mlr3tuning (local) initialize(...)
   17.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   18.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   19.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   20.                 └─bbotk::assert_optimizer(optimizer)
   21.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   22.                     └─checkmate::checkR6(...)
  ── Error ('test_tune.R:3:3'): tune function works with one measure ─────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_tune.R:3:3
    2. │ └─mlr3tuning:::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("random_search", batch_size = 1)
    6.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    7.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    8.     │ └─checkmate::checkR6(...)
    9.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   10.       ├─base::do.call(constructor$new, cargs)
   11.       └─R6 (local) `<fn>`()
   12.         └─mlr3tuning (local) initialize(...)
   13.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   14.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   15.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   16.                 └─bbotk::assert_optimizer(optimizer)
   17.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   18.                     └─checkmate::checkR6(...)
  ── Error ('test_tune.R:13:3'): tune function works with multiple measures ──────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_tune.R:13:3
    2. │ └─mlr3tuning:::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("random_search", batch_size = 1)
    6.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    7.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    8.     │ └─checkmate::checkR6(...)
    9.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   10.       ├─base::do.call(constructor$new, cargs)
   11.       └─R6 (local) `<fn>`()
   12.         └─mlr3tuning (local) initialize(...)
   13.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   14.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   15.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   16.                 └─bbotk::assert_optimizer(optimizer)
   17.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   18.                     └─checkmate::checkR6(...)
  ── Error ('test_tune.R:23:3'): tune function works without measure ─────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_tune.R:23:3
    2. │ └─mlr3tuning:::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("random_search")
    6.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    7.     └─mlr3misc:::dictionary_get(dict, .key)
    8.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    9.         ├─base::do.call(constructor$new, cargs)
   10.         └─R6 (local) `<fn>`()
   11.           └─mlr3tuning (local) initialize(...)
   12.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   13.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   14.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   15.                   └─bbotk::assert_optimizer(optimizer)
   16.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   17.                       └─checkmate::checkR6(...)
  ── Error ('test_tune.R:55:3'): evaluate_default works ──────────────────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_tune.R:55:3
    2. │ └─mlr3tuning:::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("random_search")
    6.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    7.     └─mlr3misc:::dictionary_get(dict, .key)
    8.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    9.         ├─base::do.call(constructor$new, cargs)
   10.         └─R6 (local) `<fn>`()
   11.           └─mlr3tuning (local) initialize(...)
   12.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   13.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   14.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   15.                   └─bbotk::assert_optimizer(optimizer)
   16.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   17.                       └─checkmate::checkR6(...)
  ── Error ('test_tune.R:72:3'): evaluate_default works with logscale ────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_tune.R:72:3
    2. │ └─mlr3tuning:::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("random_search")
    6.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    7.     └─mlr3misc:::dictionary_get(dict, .key)
    8.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    9.         ├─base::do.call(constructor$new, cargs)
   10.         └─R6 (local) `<fn>`()
   11.           └─mlr3tuning (local) initialize(...)
   12.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   13.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   14.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   15.                   └─bbotk::assert_optimizer(optimizer)
   16.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   17.                       └─checkmate::checkR6(...)
  ── Error ('test_tune.R:89:3'): evaluate_default errors with trafo ──────────────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_tune.R:89:3
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─mlr3tuning::tune(...)
    8. │ └─mlr3tuning:::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("random_search")
   12.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   13.     └─mlr3misc:::dictionary_get(dict, .key)
   14.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   15.         ├─base::do.call(constructor$new, cargs)
   16.         └─R6 (local) `<fn>`()
   17.           └─mlr3tuning (local) initialize(...)
   18.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   19.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   20.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   21.                   └─bbotk::assert_optimizer(optimizer)
   22.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   23.                       └─checkmate::checkR6(...)
  ── Error ('test_tune.R:105:3'): evaluate_default works without transformation and with logscale ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_tune.R:105:3
    2. │ └─mlr3tuning:::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("random_search")
    6.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    7.     └─mlr3misc:::dictionary_get(dict, .key)
    8.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    9.         ├─base::do.call(constructor$new, cargs)
   10.         └─R6 (local) `<fn>`()
   11.           └─mlr3tuning (local) initialize(...)
   12.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   13.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   14.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   15.                   └─bbotk::assert_optimizer(optimizer)
   16.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   17.                       └─checkmate::checkR6(...)
  ── Error ('test_tune.R:127:3'): evaluate_default errors without transformation and with logscale and trafo ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_tune.R:127:3
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─mlr3tuning::tune(...)
    8. │ └─mlr3tuning:::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("random_search")
   12.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   13.     └─mlr3misc:::dictionary_get(dict, .key)
   14.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   15.         ├─base::do.call(constructor$new, cargs)
   16.         └─R6 (local) `<fn>`()
   17.           └─mlr3tuning (local) initialize(...)
   18.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   19.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   20.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   21.                   └─bbotk::assert_optimizer(optimizer)
   22.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   23.                       └─checkmate::checkR6(...)
  ── Error ('test_tune.R:150:3'): evaluate_default errors with extra trafo ───────
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_tune.R:150:3
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─mlr3tuning::tune(...)
    8. │ └─mlr3tuning:::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("random_search")
   12.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   13.     └─mlr3misc:::dictionary_get(dict, .key)
   14.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   15.         ├─base::do.call(constructor$new, cargs)
   16.         └─R6 (local) `<fn>`()
   17.           └─mlr3tuning (local) initialize(...)
   18.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   19.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   20.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   21.                   └─bbotk::assert_optimizer(optimizer)
   22.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   23.                       └─checkmate::checkR6(...)
  ── Error ('test_tune.R:168:3'): evaluate_default errors with old parameter set api ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_tune.R:168:3
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─mlr3tuning::tune(...)
    8. │ └─mlr3tuning:::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("random_search")
   12.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   13.     └─mlr3misc:::dictionary_get(dict, .key)
   14.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   15.         ├─base::do.call(constructor$new, cargs)
   16.         └─R6 (local) `<fn>`()
   17.           └─mlr3tuning (local) initialize(...)
   18.             └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   19.               └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   20.                 └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   21.                   └─bbotk::assert_optimizer(optimizer)
   22.                     └─checkmate::assert_r6(optimizer, "Optimizer")
   23.                       └─checkmate::checkR6(...)
  
  [ FAIL 95 | WARN 0 | SKIP 1 | PASS 149 ]
  Error: Test failures
  Execution halted