Running ‘testthat.R’ [207s/398s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library(testthat)
  +   library(mlr3mbo)
  +   test_check("mlr3mbo")
  + }
  Loading required namespace: mlr3learners
  Loading required namespace: DiceKriging
  Loading required namespace: rgenoud
  Loading required package: mlr3
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [00:58:24.957] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [00:59:41.304] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [00:59:43.786] [bbotk] R6 class OptimizerError/Optimizer/R6 does not have slot 'optimize'!
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:00:26.554] [bbotk] Less then `n_select` (1) candidate points found during acquisition function optimization were not already evaluated.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:01:13.255] [bbotk] Surrogate Train Error.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:01:21.396] [mlr3] train: Stopped because hard maximum generation limit was hit.
  WARN  [01:01:24.014] [mlr3] train: Stopped because hard maximum generation limit was hit.
  WARN  [01:01:30.203] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  WARN  [01:01:39.213] [bbotk] Surrogate Train Error.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  WARN  [01:01:46.370] [mlr3] train: Stopped because hard maximum generation limit was hit.
  WARN  [01:01:48.819] [mlr3] train: Stopped because hard maximum generation limit was hit.
  WARN  [01:01:51.160] [mlr3] train: Stopped because hard maximum generation limit was hit.
  WARN  [01:01:53.303] [mlr3] train: Stopped because hard maximum generation limit was hit.
  WARN  [01:02:04.312] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  TuningInstanceSingleCrit is deprecated. Use TuningInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:02:10.894] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:02:17.217] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:02:22.431] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:02:27.504] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:02:32.336] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:02:37.361] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:02:43.257] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:02:49.145] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:02:57.962] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
  WARN  [01:03:00.875] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:03:03.506] [bbotk] R6 class OptimizerError/Optimizer/R6 does not have slot 'optimize'!
  WARN  [01:03:04.579] [bbotk] Surrogate Train Error.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:03:05.292] [bbotk] Surrogate Predict Error.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  WARN  [01:03:33.088] [mlr3] train: Stopped because hard maximum generation limit was hit.
  WARN  [01:03:35.189] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:03:43.645] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:03:55.393] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:04:01.756] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  WARN  [01:04:07.493] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  WARN  [01:04:14.097] [mlr3] train: Stopped because hard maximum generation limit was hit.
  WARN  [01:04:16.325] [mlr3] train: Stopped because hard maximum generation limit was hit.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  ERROR [01:04:34.104] [mlr3] train: Surrogate Train Error.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  ERROR [01:04:36.344] [mlr3] train: Surrogate Train Error.
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  WARN  [01:04:36.601] [bbotk] Cannot predict, Learner 'regr.error' has not been trained yet
  OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
  [ FAIL 39 | WARN 0 | SKIP 4 | PASS 732 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test_AcqFunctionEHVIGH.R:32:3', 'test_OptimizerMbo.R:2:3',
    'test_ResultAssignerSurrogate.R:16:3', 'test_TunerMbo.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_AcqFunction.R:15:3'): AcqFunction API works ──────────────────
  acqf$label (`actual`) not equal to "label" (`expected`).
  
  `actual`:   NA     
  `expected`: "label"
  ── Failure ('test_AcqFunction.R:16:3'): AcqFunction API works ──────────────────
  acqf$man (`actual`) not equal to "man" (`expected`).
  
  `actual`:   NA   
  `expected`: "man"
  ── Failure ('test_AcqFunctionAEI.R:9:3'): AcqFunctionAEI works ─────────────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqf) at test_AcqFunctionAEI.R:9:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_AcqFunctionCB.R:5:3'): AcqFunctionCB works ───────────────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqf) at test_AcqFunctionCB.R:5:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_AcqFunctionEHVI.R:5:3'): AcqFunctionEHVI works ───────────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqf) at test_AcqFunctionEHVI.R:5:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_AcqFunctionEHVIGH.R:7:3'): AcqFunctionEHVIGH works ───────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqf) at test_AcqFunctionEHVIGH.R:7:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_AcqFunctionEI.R:5:3'): AcqFunctionEI works ───────────────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqf) at test_AcqFunctionEI.R:5:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_AcqFunctionEI.R:6:3'): AcqFunctionEI works ───────────────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqf) at test_AcqFunctionEI.R:6:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_AcqFunctionEIPS.R:10:3'): AcqFunctionEIPS works ──────────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqf) at test_AcqFunctionEIPS.R:10:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_AcqFunctionMean.R:5:3'): AcqFunctionMean works ───────────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqf) at test_AcqFunctionMean.R:5:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_AcqFunctionPI.R:5:3'): AcqFunctionPI works ───────────────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqf) at test_AcqFunctionPI.R:5:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_AcqFunctionSD.R:5:3'): AcqFunctionSD works ───────────────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqf) at test_AcqFunctionSD.R:5:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_AcqFunctionSmsEgo.R:5:3'): AcqFunctionSmsEgo works ───────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqf) at test_AcqFunctionSmsEgo.R:5:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Error ('test_OptimizerMbo.R:66:5'): OptimizerMbo works with different settings - singlecrit ──
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─optimizer$optimize at test_OptimizerMbo.R:66:5
   2. └─global `$.R6`(optimizer, optimize) at test_OptimizerMbo.R:66:5
  ── Error ('test_OptimizerMbo.R:89:3'): OptimizerMbo works for noisy problems ───
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─optimizer$optimize at test_OptimizerMbo.R:89:3
   2. └─global `$.R6`(optimizer, optimize) at test_OptimizerMbo.R:89:3
  ── Error ('test_OptimizerMbo.R:100:3'): OptimizerMbo sugar ─────────────────────
  Error in ``$.R6`(optimizer, "optimize")`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─bbotk::bb_optimize(...) at test_OptimizerMbo.R:100:3
   2. └─bbotk:::bb_optimize.Objective(...)
   3.   ├─optimizer$optimize
   4.   └─global `$.R6`(optimizer, "optimize")
  ── Error ('test_OptimizerMbo.R:165:3'): OptimizerMbo args ──────────────────────
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─testthat::expect_error(optimizer$optimize(instance), "Must be a subset of \\{'init_design_size','random_interleave_iter'\\}, but has additional elements \\{'test'\\}.") at test_OptimizerMbo.R:165: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. ├─optimizer$optimize
   8. └─global `$.R6`(optimizer, optimize)
  ── Error ('test_OptimizerMbo.R:179:3'): OptimizerMbo reset ─────────────────────
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─optimizer$optimize at test_OptimizerMbo.R:179:3
   2. └─global `$.R6`(optimizer, optimize) at test_OptimizerMbo.R:179:3
  ── Error ('test_OptimizerMbo.R:210:3'): OptimizerMbo up to date surrogate after optimization ──
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─optimizer$optimize at test_OptimizerMbo.R:210:3
   2. └─global `$.R6`(optimizer, optimize) at test_OptimizerMbo.R:210:3
  ── Error ('test_ResultAssignerArchive.R:24:3'): ResultAssignerArchive works with OptimizerMbo and bayesopt_ego ──
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─optimizer$optimize at test_ResultAssignerArchive.R:24:3
   2. └─global `$.R6`(optimizer, optimize) at test_ResultAssignerArchive.R:24:3
  ── Error ('test_ResultAssignerArchive.R:38:3'): ResultAssignerArchive works with OptimizerMbo and bayesopt_parego ──
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─optimizer$optimize at test_ResultAssignerArchive.R:38:3
   2. └─global `$.R6`(optimizer, optimize) at test_ResultAssignerArchive.R:38:3
  ── Error ('test_ResultAssignerArchive.R:52:3'): ResultAssignerArchive works with OptimizerMbo and bayesopt_smsego ──
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─optimizer$optimize at test_ResultAssignerArchive.R:52:3
   2. └─global `$.R6`(optimizer, optimize) at test_ResultAssignerArchive.R:52:3
  ── Error ('test_ResultAssignerSurrogate.R:44:3'): ResultAssignerSurrogate works with OptimizerMbo and bayesopt_ego ──
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─optimizer$optimize at test_ResultAssignerSurrogate.R:44:3
   2. └─global `$.R6`(optimizer, optimize) at test_ResultAssignerSurrogate.R:44:3
  ── Error ('test_ResultAssignerSurrogate.R:62:3'): ResultAssignerSurrogate works with OptimizerMbo and bayesopt_parego ──
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─optimizer$optimize at test_ResultAssignerSurrogate.R:62:3
   2. └─global `$.R6`(optimizer, optimize) at test_ResultAssignerSurrogate.R:62:3
  ── Error ('test_ResultAssignerSurrogate.R:80:3'): ResultAssignerSurrogate works with OptimizerMbo and bayesopt_smsego ──
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─optimizer$optimize at test_ResultAssignerSurrogate.R:80:3
   2. └─global `$.R6`(optimizer, optimize) at test_ResultAssignerSurrogate.R:80:3
  ── Error ('test_TunerMbo.R:36:3'): Constructing TunerMbo and ABs ───────────────
  Error: 'TunerFromOptimizer' is not an exported object from 'namespace:mlr3tuning'
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr(...) at test_TunerMbo.R:36: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.         └─R6 (local) get_inherit()
    9.           └─base::eval(inherit, parent_env, NULL)
   10.             └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerMbo.R:72:3'): TunerMbo sugar ──────────────────────────────
  Error: 'TunerFromOptimizer' is not an exported object from 'namespace:mlr3tuning'
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_TunerMbo.R:72:3
    2. │ └─mlr3tuning::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr(...)
    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>`(acq_function = `<AcqFncCB>`, acq_optimizer = `<AcqOptmz>`)
   12.         └─R6 (local) get_inherit()
   13.           └─base::eval(inherit, parent_env, NULL)
   14.             └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerMbo.R:90:3'): TunerMbo param_classes ──────────────────────
  Error: 'TunerFromOptimizer' is not an exported object from 'namespace:mlr3tuning'
  Backtrace:
      ▆
   1. └─mlr3tuning::tnr("mbo") at test_TunerMbo.R:90: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.           └─R6 (local) get_inherit()
   8.             └─base::eval(inherit, parent_env, NULL)
   9.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerMbo.R:104:3'): TunerMbo properties ────────────────────────
  Error: 'TunerFromOptimizer' is not an exported object from 'namespace:mlr3tuning'
  Backtrace:
      ▆
   1. └─mlr3tuning::tnr("mbo") at test_TunerMbo.R:104: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.           └─R6 (local) get_inherit()
   8.             └─base::eval(inherit, parent_env, NULL)
   9.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerMbo.R:120:3'): TunerMbo packages ──────────────────────────
  Error: 'TunerFromOptimizer' is not an exported object from 'namespace:mlr3tuning'
  Backtrace:
      ▆
   1. └─mlr3tuning::tnr("mbo") at test_TunerMbo.R:120: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.           └─R6 (local) get_inherit()
   8.             └─base::eval(inherit, parent_env, NULL)
   9.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerMbo.R:135:3'): TunerMbo args ──────────────────────────────
  Error: 'TunerFromOptimizer' is not an exported object from 'namespace:mlr3tuning'
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("mbo", args = list(test = 1)) at test_TunerMbo.R:135: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>`(args = `<named list>`)
    8.         └─R6 (local) get_inherit()
    9.           └─base::eval(inherit, parent_env, NULL)
   10.             └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerMbo.R:152:3'): TunerMbo reset ─────────────────────────────
  Error: 'TunerFromOptimizer' is not an exported object from 'namespace:mlr3tuning'
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr(...) at test_TunerMbo.R:152: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>`(acq_optimizer = `<AcqOptmz>`)
    8.         └─R6 (local) get_inherit()
    9.           └─base::eval(inherit, parent_env, NULL)
   10.             └─base::eval(inherit, parent_env, NULL)
  ── Failure ('test_bayesopt_ego.R:112:3'): stable bayesopt_ego ──────────────────
  ... == 1L is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test_mbo_defaults.R:121:3'): default_acqoptimizer ─────────────────
  Check on 'acqopt$optimizer' failed: Must inherit from class 'OptimizerRandomSearch', but has classes 'OptimizerBatchRandomSearch','OptimizerBatch','Optimizer','R6'
  Backtrace:
      ▆
   1. └─checkmate::expect_r6(acqopt$optimizer, "OptimizerRandomSearch") at test_mbo_defaults.R:121:3
   2.   └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_mbo_defaults.R:167:3'): stability and defaults ───────────────
  Check on 'acq_optimizer$optimizer' failed: Must inherit from class 'OptimizerRandomSearch', but has classes 'OptimizerBatchRandomSearch','OptimizerBatch','Optimizer','R6'
  Backtrace:
      ▆
   1. └─checkmate::expect_r6(acq_optimizer$optimizer, "OptimizerRandomSearch") at test_mbo_defaults.R:167:3
   2.   └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_mlr_acqfunctions.R:15:3'): as.data.table(mlr_acqfunctions) ───
  Check on 'd$label' failed: Contains missing values (element 1)
  Backtrace:
      ▆
   1. └─checkmate::expect_character(d$label, unique = TRUE, any.missing = FALSE) at test_mlr_acqfunctions.R:15:3
   2.   └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_mlr_acqfunctions.R:16:3'): as.data.table(mlr_acqfunctions) ───
  Check on 'd$man' failed: Contains missing values (element 1)
  Backtrace:
      ▆
   1. └─checkmate::expect_character(d$man, unique = TRUE, any.missing = FALSE) at test_mlr_acqfunctions.R:16:3
   2.   └─checkmate::makeExpectation(x, res, info, label)
  ── Error ('test_mlr_loop_functions.R:58:3'): custom loop_function ──────────────
  Error in ``$.R6`(optimizer, optimize)`: R6 class OptimizerMbo/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. ├─optimizer$optimize at test_mlr_loop_functions.R:58:3
   2. └─global `$.R6`(optimizer, optimize) at test_mlr_loop_functions.R:58:3
  ── Failure ('test_sugar.R:15:3'): AcqFunction sugar ────────────────────────────
  Check on 'acqf$label' failed: May not be NA
  Backtrace:
      ▆
   1. └─mlr3mbo:::expect_acqfunction(acqfunction) at test_sugar.R:15:3
   2.   └─checkmate::expect_string(acqf$label) at tests/testthat/helper.R:194:3
   3.     └─checkmate::makeExpectation(x, res, info, label)
  
  [ FAIL 39 | WARN 0 | SKIP 4 | PASS 732 ]
  Error: Test failures
  Execution halted