Running ‘testthat.R’ [95s/57s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("checkmate")
  +   library("mlr3hyperband")
  +   test_check("mlr3hyperband")
  + }
  Loading required package: mlr3tuning
  Loading required package: mlr3
  Loading required package: paradox
  Starting 2 test processes
  [ FAIL 40 | WARN 0 | SKIP 0 | PASS 28 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_TunerHyperband.R:7:3'): TunerHyperband works ───────────────────
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerHyperband.R:7:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:16:3'): TunerHyperband works with minimum budget > 1 ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerHyperband.R:16:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:25:3'): TunerHyperband rounds budget ──────────
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerHyperband.R:25:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:34:3'): TunerHyperband works with eta = 2.5 ───
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2.5, learner) at test_TunerHyperband.R:34:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:47:3'): TunerHyperband works with xgboost ─────
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerHyperband.R:47:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:58:3'): TunerHyperband works with subsampling ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_hyperband(eta = 3, graph_learner) at test_TunerHyperband.R:58:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:68:3'): TunerHyperband works works with multi-crit ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerHyperband.R:68:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:79:3'): TunerHyperband works with custom sampler ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner, sampler = sampler) at test_TunerHyperband.R:79:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:91:3'): TunerHyperband errors if not enough parameters are sampled ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_TunerHyperband.R:91: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.   └─tuner$optimize(instance)
    9.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   10.       ├─private$.optimizer$optimize
   11.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:113:3'): TunerHyperband errors if budget parameter is sampled ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_TunerHyperband.R:113: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.   └─tuner$optimize(instance)
    9.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   10.       ├─private$.optimizer$optimize
   11.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:130:3'): TunerHyperband errors if budget parameter is not numeric ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_TunerHyperband.R:130: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.   └─tuner$optimize(instance)
    9.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   10.       ├─private$.optimizer$optimize
   11.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:147:3'): TunerHyperband errors if multiple budget parameters are set ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_TunerHyperband.R:147: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.   └─tuner$optimize(instance)
    9.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   10.       ├─private$.optimizer$optimize
   11.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:164:3'): TunerHyperband minimizes measure ─────
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerHyperband.R:164:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:175:3'): TunerHyperband maximizes measure ─────
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerHyperband.R:175:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:186:3'): TunerHyperband works with single budget value ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerHyperband.R:186:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:195:3'): TunerHyperband works with repetitions ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_TunerHyperband.R:195:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   4.       ├─private$.optimizer$optimize
   5.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:211:3'): TunerHyperband terminates itself ─────
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_TunerHyperband.R:211:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   4.       ├─private$.optimizer$optimize
   5.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerHyperband.R:227:3'): TunerHyperband works with infinite repetitions ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerHyperband/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_TunerHyperband.R:227:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   4.       ├─private$.optimizer$optimize
   5.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:7:3'): TunerSuccessiveHalving works ───
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:7:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:16:3'): TunerSuccessiveHalving works with minimum budget > 1 ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:16:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:25:3'): TunerSuccessiveHalving rounds budget ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:25:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:34:3'): TunerSuccessiveHalving works with eta = 2.5 ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:34:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:43:3'): TunerSuccessiveHalving adjusts minimum budget ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:43:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:65:3'): TunerSuccessiveHalving works with xgboost ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:65:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:76:3'): TunerSuccessiveHalving works with subsampling ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:76:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:85:3'): TunerSuccessiveHalving works with multi-crit ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:85:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:96:3'): TunerSuccessiveHalving works with custom sampler ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:96:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:108:3'): TunerSuccessiveHalving errors if not enough parameters are sampled ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:108: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.   └─tuner$optimize(instance)
    9.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   10.       ├─private$.optimizer$optimize
   11.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:130:3'): TunerSuccessiveHalving errors if budget parameter is sampled ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:130: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.   └─tuner$optimize(instance)
    9.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   10.       ├─private$.optimizer$optimize
   11.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:147:3'): TunerSuccessiveHalving errors if budget parameter is not numeric ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:147: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.   └─tuner$optimize(instance)
    9.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   10.       ├─private$.optimizer$optimize
   11.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:164:3'): TunerSuccessiveHalving errors if multiple budget parameters are set ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:164: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.   └─tuner$optimize(instance)
    9.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   10.       ├─private$.optimizer$optimize
   11.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:181:3'): TunerSuccessiveHalving minimizes measure ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:181:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:191:3'): TunerSuccessiveHalving maximizes measure ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:191:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:201:3'): TunerSuccessiveHalving works with single budget value ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:201:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:210:3'): TunerSuccessiveHalving works with repetitions ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_TunerSuccessiveHalving.R:210:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   4.       ├─private$.optimizer$optimize
   5.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:226:3'): TunerSuccessiveHalving terminates itself ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_TunerSuccessiveHalving.R:226:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   4.       ├─private$.optimizer$optimize
   5.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:242:3'): TunerSuccessiveHalving works with infinite repetitions ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3tuning::tune(...) at test_TunerSuccessiveHalving.R:242:3
   2.   └─tuner$optimize(instance)
   3.     └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   4.       ├─private$.optimizer$optimize
   5.       └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:259:3'): TunerSuccessiveHalving works with r_max > n ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:259:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:268:3'): TunerSuccessiveHalving works with r_max < n ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:268:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  ── Error ('test_TunerSuccessiveHalving.R:277:3'): TunerSuccessiveHalving works with r_max < n and adjust minimum budget ──
  Error in ``$.R6`(private$.optimizer, "optimize")`: R6 class OptimizerSuccessiveHalving/Optimizer/R6 does not have slot 'optimize'!
  Backtrace:
      ▆
   1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:277:3
   2.   └─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
   3.     └─tuner$optimize(instance)
   4.       └─mlr3tuning:::.__TunerFromOptimizer__optimize(...)
   5.         ├─private$.optimizer$optimize
   6.         └─global `$.R6`(private$.optimizer, "optimize")
  
  [ FAIL 40 | WARN 0 | SKIP 0 | PASS 28 ]
  Error: Test failures
  Execution halted