Running ‘testthat.R’ [45s/38s]
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 42 | WARN 0 | SKIP 0 | PASS 24 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_TunerHyperband.R:7:3'): TunerHyperband works ───────────────────
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr("hyperband", eta = eta, sampler = sampler)
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:16:3'): TunerHyperband works with minimum budget > 1 ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr("hyperband", eta = eta, sampler = sampler) at tests/testthat/helper.R:26:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:25:3'): TunerHyperband rounds budget ──────────
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr("hyperband", eta = eta, sampler = sampler) at tests/testthat/helper.R:26:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:34:3'): TunerHyperband works with eta = 2.5 ───
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr("hyperband", eta = eta, sampler = sampler) at tests/testthat/helper.R:26:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:47:3'): TunerHyperband works with xgboost ─────
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr("hyperband", eta = eta, sampler = sampler) at tests/testthat/helper.R:26:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:58:3'): TunerHyperband works with subsampling ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr("hyperband", eta = eta, sampler = sampler) at tests/testthat/helper.R:26:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:68:3'): TunerHyperband works works with multi-crit ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerHyperband.R:68:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr("hyperband", eta = eta, sampler = sampler) at tests/testthat/helper.R:26:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:79:3'): TunerHyperband works with custom sampler ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr("hyperband", eta = eta, sampler = sampler) at tests/testthat/helper.R:26:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:91:3'): TunerHyperband errors if not enough parameters are sampled ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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. │ └─mlr3tuning::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("hyperband", sampler = sampler)
   12.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   13.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   14.     │ └─checkmate::checkR6(...)
   15.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   16.       ├─base::do.call(constructor$new, cargs)
   17.       └─R6 (local) `<fn>`()
   18.         └─R6 (local) get_inherit()
   19.           └─base::eval(inherit, parent_env, NULL)
   20.             └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:113:3'): TunerHyperband errors if budget parameter is sampled ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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. │ └─mlr3tuning::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("hyperband", sampler = sampler)
   12.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   13.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   14.     │ └─checkmate::checkR6(...)
   15.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   16.       ├─base::do.call(constructor$new, cargs)
   17.       └─R6 (local) `<fn>`()
   18.         └─R6 (local) get_inherit()
   19.           └─base::eval(inherit, parent_env, NULL)
   20.             └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:130:3'): TunerHyperband errors if budget parameter is not numeric ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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. │ └─mlr3tuning::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("hyperband")
   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.           └─R6 (local) get_inherit()
   18.             └─base::eval(inherit, parent_env, NULL)
   19.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:147:3'): TunerHyperband errors if multiple budget parameters are set ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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. │ └─mlr3tuning::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("hyperband")
   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.           └─R6 (local) get_inherit()
   18.             └─base::eval(inherit, parent_env, NULL)
   19.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:164:3'): TunerHyperband minimizes measure ─────
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerHyperband.R:164:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr("hyperband", eta = eta, sampler = sampler) at tests/testthat/helper.R:26:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:175:3'): TunerHyperband maximizes measure ─────
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerHyperband.R:175:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:26:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr("hyperband", eta = eta, sampler = sampler) at tests/testthat/helper.R:26:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:186:3'): TunerHyperband works with single budget value ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr("hyperband", eta = eta, sampler = sampler) at tests/testthat/helper.R:26:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:195:3'): TunerHyperband works with repetitions ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_TunerHyperband.R:195:3
    2. │ └─mlr3tuning::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("hyperband", repetitions = 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.         └─R6 (local) get_inherit()
   13.           └─base::eval(inherit, parent_env, NULL)
   14.             └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:211:3'): TunerHyperband terminates itself ─────
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_TunerHyperband.R:211:3
    2. │ └─mlr3tuning::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("hyperband")
    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.           └─R6 (local) get_inherit()
   12.             └─base::eval(inherit, parent_env, NULL)
   13.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:227:3'): TunerHyperband works with infinite repetitions ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_TunerHyperband.R:227:3
    2. │ └─mlr3tuning::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("hyperband", repetitions = Inf)
    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.         └─R6 (local) get_inherit()
   13.           └─base::eval(inherit, parent_env, NULL)
   14.             └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerHyperband.R:239:3'): TunerHyperband man exists ────────────
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. ├─global expect_man_exists(tnr("hyperband")$man) at test_TunerHyperband.R:239:3
    2. │ └─checkmate::expect_string(man, na.ok = TRUE, fixed = "::")
    3. │   └─checkmate::checkString(...)
    4. │     └─... %and% ...
    5. │       └─base::isTRUE(lhs)
    6. └─mlr3tuning::tnr("hyperband")
    7.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.     └─mlr3misc:::dictionary_get(dict, .key)
    9.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   10.         ├─base::do.call(constructor$new, cargs)
   11.         └─R6 (local) `<fn>`()
   12.           └─R6 (local) get_inherit()
   13.             └─base::eval(inherit, parent_env, NULL)
   14.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:7:3'): TunerSuccessiveHalving works ───
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:7:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...)
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:16:3'): TunerSuccessiveHalving works with minimum budget > 1 ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:16:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:25:3'): TunerSuccessiveHalving rounds budget ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:25:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:34:3'): TunerSuccessiveHalving works with eta = 2.5 ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:34:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:43:3'): TunerSuccessiveHalving adjusts minimum budget ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:43:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:65:3'): TunerSuccessiveHalving works with xgboost ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:65:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:76:3'): TunerSuccessiveHalving works with subsampling ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:76:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:85:3'): TunerSuccessiveHalving works with multi-crit ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:85:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:96:3'): TunerSuccessiveHalving works with custom sampler ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:96:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:108:3'): TunerSuccessiveHalving errors if not enough parameters are sampled ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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. │ └─mlr3tuning::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("successive_halving", sampler = sampler)
   12.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   13.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   14.     │ └─checkmate::checkR6(...)
   15.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   16.       ├─base::do.call(constructor$new, cargs)
   17.       └─R6 (local) `<fn>`()
   18.         └─R6 (local) get_inherit()
   19.           └─base::eval(inherit, parent_env, NULL)
   20.             └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:130:3'): TunerSuccessiveHalving errors if budget parameter is sampled ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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. │ └─mlr3tuning::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("successive_halving", sampler = sampler)
   12.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
   13.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
   14.     │ └─checkmate::checkR6(...)
   15.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   16.       ├─base::do.call(constructor$new, cargs)
   17.       └─R6 (local) `<fn>`()
   18.         └─R6 (local) get_inherit()
   19.           └─base::eval(inherit, parent_env, NULL)
   20.             └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:147:3'): TunerSuccessiveHalving errors if budget parameter is not numeric ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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. │ └─mlr3tuning::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("successive_halving")
   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.           └─R6 (local) get_inherit()
   18.             └─base::eval(inherit, parent_env, NULL)
   19.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:164:3'): TunerSuccessiveHalving errors if multiple budget parameters are set ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  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. │ └─mlr3tuning::assert_tuner(tuner)
    9. │   └─checkmate::assert_r6(tuner, "Tuner")
   10. │     └─checkmate::checkR6(...)
   11. └─mlr3tuning::tnr("successive_halving")
   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.           └─R6 (local) get_inherit()
   18.             └─base::eval(inherit, parent_env, NULL)
   19.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:181:3'): TunerSuccessiveHalving minimizes measure ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:181:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:191:3'): TunerSuccessiveHalving maximizes measure ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:191:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:201:3'): TunerSuccessiveHalving works with single budget value ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:201:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:210:3'): TunerSuccessiveHalving works with repetitions ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_TunerSuccessiveHalving.R:210:3
    2. │ └─mlr3tuning::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("successive_halving", repetitions = 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.         └─R6 (local) get_inherit()
   13.           └─base::eval(inherit, parent_env, NULL)
   14.             └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:226:3'): TunerSuccessiveHalving terminates itself ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_TunerSuccessiveHalving.R:226:3
    2. │ └─mlr3tuning::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("successive_halving")
    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.           └─R6 (local) get_inherit()
   12.             └─base::eval(inherit, parent_env, NULL)
   13.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:242:3'): TunerSuccessiveHalving works with infinite repetitions ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_TunerSuccessiveHalving.R:242:3
    2. │ └─mlr3tuning::assert_tuner(tuner)
    3. │   └─checkmate::assert_r6(tuner, "Tuner")
    4. │     └─checkmate::checkR6(...)
    5. └─mlr3tuning::tnr("successive_halving", repetitions = Inf)
    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.         └─R6 (local) get_inherit()
   13.           └─base::eval(inherit, parent_env, NULL)
   14.             └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:259:3'): TunerSuccessiveHalving works with r_max > n ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:259:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:268:3'): TunerSuccessiveHalving works with r_max < n ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:268:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:277:3'): TunerSuccessiveHalving works with r_max < n and adjust minimum budget ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:277:3
    2.   ├─mlr3tuning::tune(...) at tests/testthat/helper.R:61:3
    3.   │ └─mlr3tuning::assert_tuner(tuner)
    4.   │   └─checkmate::assert_r6(tuner, "Tuner")
    5.   │     └─checkmate::checkR6(...)
    6.   └─mlr3tuning::tnr(...) at tests/testthat/helper.R:61:3
    7.     └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.       ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    9.       │ └─checkmate::checkR6(...)
   10.       └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
   11.         ├─base::do.call(constructor$new, cargs)
   12.         └─R6 (local) `<fn>`()
   13.           └─R6 (local) get_inherit()
   14.             └─base::eval(inherit, parent_env, NULL)
   15.               └─base::eval(inherit, parent_env, NULL)
  ── Error ('test_TunerSuccessiveHalving.R:281:3'): TunerSuccessiveHalving man exists ──
  Error in `eval(inherit, parent_env, NULL)`: object 'TunerFromOptimizer' not found
  Backtrace:
       ▆
    1. ├─global expect_man_exists(tnr("successive_halving")$man) at test_TunerSuccessiveHalving.R:281:3
    2. │ └─checkmate::expect_string(man, na.ok = TRUE, fixed = "::")
    3. │   └─checkmate::checkString(...)
    4. │     └─... %and% ...
    5. │       └─base::isTRUE(lhs)
    6. └─mlr3tuning::tnr("successive_halving")
    7.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    8.     └─mlr3misc:::dictionary_get(dict, .key)
    9.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   10.         ├─base::do.call(constructor$new, cargs)
   11.         └─R6 (local) `<fn>`()
   12.           └─R6 (local) get_inherit()
   13.             └─base::eval(inherit, parent_env, NULL)
   14.               └─base::eval(inherit, parent_env, NULL)
  
  [ FAIL 42 | WARN 0 | SKIP 0 | PASS 24 ]
  Error: Test failures
  Execution halted