Running 'testthat.R' [393s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("checkmate")
  +   library("mlr3tuning")
  +   test_check("mlr3tuning")
  + }
  Loading required package: mlr3
  Loading required package: paradox
  # 2025-09-24 12:38:57 CEST: Initialization
  # Elitist race
  # Elitist new instances: 1
  # Elitist limit: 2
  # nbIterations: 2
  # minNbSurvival: 2
  # nbParameters: 1
  # seed: 605563729
  # confidence level: 0.95
  # budget: 42
  # mu: 5
  # deterministic: FALSE
  
  # 2025-09-24 12:38:57 CEST: Iteration 1 of 2
  # experimentsUsed: 0
  # remainingBudget: 42
  # currentBudget: 21
  # nbConfigurations: 3
  # Markers:
       x No test is performed.
       c Configurations are discarded only due to capping.
       - The test is performed and some configurations are discarded.
       = The test is performed but no configuration is discarded.
       ! The test is performed and configurations could be discarded but elite configurations are preserved.
       . All alive configurations are elite and nothing is discarded.
  
  +-+-----------+-----------+-----------+----------------+-----------+--------+-----+----+------+
  | |   Instance|      Alive|       Best|       Mean best| Exp so far|  W time|  rho|KenW|  Qvar|
  +-+-----------+-----------+-----------+----------------+-----------+--------+-----+----+------+
  |x|          1|          3|          1|    0.1000000000|          3|00:00:00|   NA|  NA|    NA|
  |x|          2|          3|          1|   0.09000000000|          6|00:00:00|+1.00|1.00|0.0000|
  |x|          3|          3|          1|   0.08666666667|          9|00:00:00|+1.00|1.00|0.0000|
  |x|          4|          3|          1|   0.07000000000|         12|00:00:00|+1.00|1.00|0.0000|
  |=|          5|          3|          1|   0.07200000000|         15|00:00:00|+1.00|1.00|0.0000|
  |=|          6|          3|          1|   0.07000000000|         18|00:00:00|+1.00|1.00|0.0000|
  |=|          7|          3|          1|   0.06285714286|         21|00:00:00|+1.00|1.00|0.0000|
  +-+-----------+-----------+-----------+----------------+-----------+--------+-----+----+------+
  Best-so-far configuration:           1    mean value:    0.06285714286
  Description of the best-so-far configuration:
    .ID.                cp .PARENT.
  1    1 0.252892625331879       NA
  
  # 2025-09-24 12:38:59 CEST: Elite configurations (first number is the configuration ID; listed from best to worst according to the sum of ranks):
                   cp
  1 0.252892625331879
  2 0.152892631292343
  # 2025-09-24 12:38:59 CEST: Iteration 2 of 2
  # experimentsUsed: 21
  # remainingBudget: 21
  # currentBudget: 21
  # nbConfigurations: 4
  # Markers:
       x No test is performed.
       c Configurations are discarded only due to capping.
       - The test is performed and some configurations are discarded.
       = The test is performed but no configuration is discarded.
       ! The test is performed and configurations could be discarded but elite configurations are preserved.
       . All alive configurations are elite and nothing is discarded.
  
  +-+-----------+-----------+-----------+----------------+-----------+--------+-----+----+------+
  | |   Instance|      Alive|       Best|       Mean best| Exp so far|  W time|  rho|KenW|  Qvar|
  +-+-----------+-----------+-----------+----------------+-----------+--------+-----+----+------+
  |x|          8|          4|          1|   0.08000000000|          4|00:00:00|   NA|  NA|    NA|
  |x|          3|          4|          1|   0.08000000000|          6|00:00:00|+1.00|1.00|0.0000|
  |x|          7|          4|          1|   0.06000000000|          8|00:00:00|+1.00|1.00|0.0000|
  |x|          4|          4|          1|   0.05000000000|         10|00:00:00|+1.00|1.00|0.0000|
  |=|          2|          4|          1|   0.05600000000|         12|00:00:00|+1.00|1.00|0.0000|
  |=|          1|          4|          1|   0.06333333333|         14|00:00:00|+1.00|1.00|0.0000|
  |=|          5|          4|          1|   0.06571428571|         16|00:00:00|+1.00|1.00|0.0000|
  |=|          6|          4|          1|   0.06500000000|         18|00:00:00|+1.00|1.00|0.0000|
  +-+-----------+-----------+-----------+----------------+-----------+--------+-----+----+------+
  Best-so-far configuration:           1    mean value:    0.06500000000
  Description of the best-so-far configuration:
    .ID.                cp .PARENT.
  1    1 0.252892625331879       NA
  
  # 2025-09-24 12:39:01 CEST: Elite configurations (first number is the configuration ID; listed from best to worst according to the sum of ranks):
                   cp
  1 0.252892625331879
  2 0.152892631292343
  # 2025-09-24 12:39:01 CEST: Stopped because there is not enough budget left to race more than the minimum (2).
  # You may either increase the budget or set 'minNbSurvival' to a lower value.
  # Iteration: 3
  # nbIterations: 3
  # experimentsUsed: 39
  # timeUsed: 0
  # remainingBudget: 3
  # currentBudget: 3
  # number of elites: 2
  # nbConfigurations: 2
  # Total CPU user time: 3.49, CPU sys time: 0.12, Wall-clock time: 3.61
  # 2025-09-24 12:39:01 CEST: Starting post-selection:
  # Configurations selected: 1, 2, 4.
  # Pending instances: 0, 0, 0.
  # 2025-09-24 12:39:01 CEST: seed: 605563729
  # Configurations: 3
  # Available experiments: 3
  # minSurvival: 1
  # Markers:
       x No test is performed.
       c Configurations are discarded only due to capping.
       - The test is performed and some configurations are discarded.
       = The test is performed but no configuration is discarded.
       ! The test is performed and configurations could be discarded but elite configurations are preserved.
       . All alive configurations are elite and nothing is discarded.
  
  +-+-----------+-----------+-----------+----------------+-----------+--------+-----+----+------+
  | |   Instance|      Alive|       Best|       Mean best| Exp so far|  W time|  rho|KenW|  Qvar|
  +-+-----------+-----------+-----------+----------------+-----------+--------+-----+----+------+
  |.|          6|          3|          1|   0.06000000000|          0|00:00:00|   NA|  NA|    NA|
  |.|          1|          3|          1|   0.08000000000|          0|00:00:00|+1.00|1.00|0.0000|
  |.|          8|          3|          1|   0.08000000000|          0|00:00:00|+1.00|1.00|0.0000|
  |.|          7|          3|          1|   0.06500000000|          0|00:00:00|+1.00|1.00|0.0000|
  |.|          4|          3|          1|   0.05600000000|          0|00:00:00|+1.00|1.00|0.0000|
  |.|          2|          3|          1|   0.06000000000|          0|00:00:00|+1.00|1.00|0.0000|
  |.|          5|          3|          1|   0.06285714286|          0|00:00:00|+1.00|1.00|0.0000|
  |.|          3|          3|          1|   0.06500000000|          0|00:00:00|+1.00|1.00|0.0000|
  |=|          9|          3|          1|   0.06666666667|          3|00:00:00|+1.00|1.00|0.0000|
  +-+-----------+-----------+-----------+----------------+-----------+--------+-----+----+------+
  Best-so-far configuration:           1    mean value:    0.06666666667
  Description of the best-so-far configuration:
    .ID.                cp .PARENT.
  1    1 0.252892625331879       NA
  
  # 2025-09-24 12:39:01 CEST: Elite configurations (first number is the configuration ID; listed from best to worst according to the sum of ranks):
                   cp
  1 0.252892625331879
  2 0.152892631292343
  # Total CPU user time: 3.79, CPU sys time: 0.14, Wall-clock time: 3.93
  [ FAIL 1 | WARN 4 | SKIP 65 | PASS 4651 ]
  
  ══ Skipped tests (65) ══════════════════════════════════════════════════════════
  • On CRAN (64): 'test_ArchiveAsyncTuning.R:2:3',
    'test_ArchiveAsyncTuning.R:60:3', 'test_ArchiveAsyncTuning.R:117:3',
    'test_ArchiveAsyncTuning.R:143:3', 'test_ArchiveAsyncTuning.R:165:3',
    'test_ArchiveAsyncTuning.R:204:3', 'test_ArchiveAsyncTuning.R:245:3',
    'test_ArchiveAsyncTuning.R:278:3', 'test_ArchiveAsyncTuningFrozen.R:2:3',
    'test_AutoTuner.R:640:3', 'test_CallbackAsyncTuning.R:4:3',
    'test_CallbackAsyncTuning.R:32:3', 'test_CallbackAsyncTuning.R:62:3',
    'test_CallbackAsyncTuning.R:90:3', 'test_CallbackAsyncTuning.R:120:3',
    'test_CallbackAsyncTuning.R:155:3', 'test_CallbackAsyncTuning.R:182:3',
    'test_CallbackAsyncTuning.R:215:3', 'test_CallbackAsyncTuning.R:244:3',
    'test_CallbackAsyncTuning.R:272:3', 'test_CallbackAsyncTuning.R:302:3',
    'test_CallbackAsyncTuning.R:332:3', 'test_CallbackAsyncTuning.R:361:3',
    'test_CallbackAsyncTuning.R:392:3', 'test_CallbackAsyncTuning.R:429:3',
    'test_CallbackAsyncTuning.R:465:3', 'test_CallbackAsyncTuning.R:500:3',
    'test_Tuner.R:68:3', 'test_TunerAsyncDesignPoints.R:2:3',
    'test_TunerAsyncGridSearch.R:2:3', 'test_TunerAsyncRandomSearch.R:2:3',
    'test_TuningInstanceAsyncMultiCrit.R:2:3',
    'test_TuningInstanceAsyncMultiCrit.R:29:3',
    'test_TuningInstanceAsyncMultiCrit.R:55:3',
    'test_TuningInstanceAsyncMultiCrit.R:78:3',
    'test_TuningInstanceAsyncMultiCrit.R:102:3',
    'test_TuningInstanceAsyncMultiCrit.R:129:3',
    'test_TuningInstanceAsyncMultiCrit.R:183:3',
    'test_TuningInstanceAsyncSingleCrit.R:2:3',
    'test_TuningInstanceAsyncSingleCrit.R:28:3',
    'test_TuningInstanceAsyncSingleCrit.R:52:3',
    'test_TuningInstanceAsyncSingleCrit.R:75:3',
    'test_TuningInstanceAsyncSingleCrit.R:100:3',
    'test_TuningInstanceAsyncSingleCrit.R:126:3',
    'test_TuningInstanceAsyncSingleCrit.R:176:3',
    'test_TuningInstanceAsyncSingleCrit.R:206:3',
    'test_TuningInstanceAsyncSingleCrit.R:219:3', 'test_auto_tuner.R:25:3',
    'test_auto_tuner.R:48:3', 'test_mlr_callbacks.R:40:3',
    'test_mlr_callbacks.R:93:3', 'test_mlr_callbacks.R:117:3',
    'test_mlr_callbacks.R:141:3', 'test_mlr_callbacks.R:162:3',
    'test_mlr_callbacks.R:192:3', 'test_mlr_callbacks.R:218:3',
    'test_mlr_callbacks.R:251:3', 'test_mlr_callbacks.R:410:3',
    'test_mlr_callbacks.R:452:3', 'test_mlr_callbacks.R:478:3',
    'test_ti_async.R:2:3', 'test_ti_async.R:16:3', 'test_ti_async.R:30:3',
    'test_ti_async.R:42:3'
  • On Windows (1): 'test_TunerBatchNLoptr.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_error_handling.R:12:3'): failing learner ─────────────────────
  `tt$optimize(instance)` did not throw the expected error.
  
  [ FAIL 1 | WARN 4 | SKIP 65 | PASS 4651 ]
  Error: Test failures
  Execution halted