Running 'testthat.R' [151s]
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 4 | WARN 5 | SKIP 0 | PASS 128 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_TunerHyperband.R:186'): TunerHyperband works with single budget value ──
  Error in `load(zfile, envir = tmp_env)`: no input is available
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerHyperband.R:186:2
    2.   ├─mlr3tuning::tune(...) at D:\RCompile\CRANpkg\local\4.3\mlr3hyperband.Rcheck\tests\testthat\helper.R:26:2
    3.   │ └─TuningInstance$new(...)
    4.   │   └─mlr3tuning (local) initialize(...)
    5.   │     └─mlr3tuning:::.__TuningInstanceSingleCrit__initialize(...)
    6.   │       └─mlr3::assert_measures(...)
    7.   │         └─base::lapply(...)
    8.   │           └─mlr3 (local) FUN(X[[i]], ...)
    9.   └─mlr3::tsk("pima") at D:\RCompile\CRANpkg\local\4.3\mlr3hyperband.Rcheck\tests\testthat\helper.R:26:2
   10.     └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
   11.       └─mlr3misc:::dictionary_get(dict, .key)
   12.         └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   13.           ├─base::do.call(constructor, cargs)
   14.           └─mlr3 (local) `<fn>`()
   15.             ├─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
   16.             └─mlr3misc::load_dataset("PimaIndiansDiabetes2", "mlbench")
   17.               └─utils::data(list = id, package = package, envir = ee)
   18.                 └─base::load(zfile, envir = tmp_env)
  ── Error ('test_TunerHyperband.R:195'): TunerHyperband works with repetitions ──
  Error in `load(zfile, envir = tmp_env)`: empty (zero-byte) input file
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_TunerHyperband.R:195:2
    2. │ └─TuningInstance$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__TuningInstanceSingleCrit__initialize(...)
    5. │       └─mlr3::assert_measures(...)
    6. │         └─base::lapply(...)
    7. │           └─mlr3 (local) FUN(X[[i]], ...)
    8. └─mlr3::tsk("pima")
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor, cargs)
   13.         └─mlr3 (local) `<fn>`()
   14.           ├─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
   15.           └─mlr3misc::load_dataset("PimaIndiansDiabetes2", "mlbench")
   16.             └─utils::data(list = id, package = package, envir = ee)
   17.               └─base::load(zfile, envir = tmp_env)
  ── Error ('test_TunerHyperband.R:211'): TunerHyperband terminates itself ───────
  Error in `load(zfile, envir = tmp_env)`: empty (zero-byte) input file
  Backtrace:
       ▆
    1. ├─mlr3tuning::tune(...) at test_TunerHyperband.R:211:2
    2. │ └─TuningInstance$new(...)
    3. │   └─mlr3tuning (local) initialize(...)
    4. │     └─mlr3tuning:::.__TuningInstanceSingleCrit__initialize(...)
    5. │       └─mlr3::assert_measures(...)
    6. │         └─base::lapply(...)
    7. │           └─mlr3 (local) FUN(X[[i]], ...)
    8. └─mlr3::tsk("pima")
    9.   └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor, cargs)
   13.         └─mlr3 (local) `<fn>`()
   14.           ├─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
   15.           └─mlr3misc::load_dataset("PimaIndiansDiabetes2", "mlbench")
   16.             └─utils::data(list = id, package = package, envir = ee)
   17.               └─base::load(zfile, envir = tmp_env)
  ── Error ('test_TunerSuccessiveHalving.R:277'): TunerSuccessiveHalving works with r_max < n and adjust minimum budget ──
  Error in `load(zfile, envir = tmp_env)`: empty (zero-byte) input file
  Backtrace:
       ▆
    1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:277:2
    2.   ├─mlr3tuning::tune(...) at D:\RCompile\CRANpkg\local\4.3\mlr3hyperband.Rcheck\tests\testthat\helper.R:61:2
    3.   │ └─TuningInstance$new(...)
    4.   │   └─mlr3tuning (local) initialize(...)
    5.   │     └─mlr3tuning:::.__TuningInstanceSingleCrit__initialize(...)
    6.   │       └─mlr3::assert_measures(...)
    7.   │         └─base::lapply(...)
    8.   │           └─mlr3 (local) FUN(X[[i]], ...)
    9.   └─mlr3::tsk("pima") at D:\RCompile\CRANpkg\local\4.3\mlr3hyperband.Rcheck\tests\testthat\helper.R:61:2
   10.     └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
   11.       └─mlr3misc:::dictionary_get(dict, .key)
   12.         └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   13.           ├─base::do.call(constructor, cargs)
   14.           └─mlr3 (local) `<fn>`()
   15.             ├─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
   16.             └─mlr3misc::load_dataset("PimaIndiansDiabetes2", "mlbench")
   17.               └─utils::data(list = id, package = package, envir = ee)
   18.                 └─base::load(zfile, envir = tmp_env)
  
  [ FAIL 4 | WARN 5 | SKIP 0 | PASS 128 ]
  Error: Test failures
  Execution halted