Last updated on 2024-07-01 04:48:39 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.5.1 | 16.21 | 109.54 | 125.75 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.5.1 | 12.98 | 79.81 | 92.79 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.5.1 | 167.58 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.5.1 | 140.55 | ERROR | |||
r-devel-windows-x86_64 | 0.5.1 | 15.00 | 93.00 | 108.00 | OK | |
r-patched-linux-x86_64 | 0.5.1 | 19.07 | 105.81 | 124.88 | OK | |
r-release-linux-x86_64 | 0.5.1 | 15.94 | 105.80 | 121.74 | OK | |
r-release-macos-arm64 | 0.5.1 | 44.00 | OK | |||
r-release-macos-x86_64 | 0.5.1 | 124.00 | OK | |||
r-release-windows-x86_64 | 0.5.1 | 14.00 | 95.00 | 109.00 | OK | |
r-oldrel-macos-arm64 | 0.5.1 | 58.00 | OK | |||
r-oldrel-macos-x86_64 | 0.5.1 | 106.00 | OK | |||
r-oldrel-windows-x86_64 | 0.5.1 | 19.00 | 123.00 | 142.00 | OK |
Version: 0.5.1
Check: examples
Result: ERROR
Running examples in ‘mlr3tuningspaces-Ex.R’ failed
The error most likely occurred in:
> ### Name: TuningSpace
> ### Title: Tuning Spaces
> ### Aliases: TuningSpace
>
> ### ** Examples
>
> library(mlr3tuning)
>
> # get default tuning space of rpart learner
> tuning_space = lts("classif.rpart.default")
>
> # get learner and set tuning space
> learner = lrn("classif.rpart")
> learner$param_set$values = tuning_space$values
>
> # tune learner
> instance = tune(
+ tnr("random_search"),
+ task = tsk("pima"),
+ learner = learner,
+ resampling = rsmp ("holdout"),
+ measure = msr("classif.ce"),
+ term_evals = 10)
Error in .__TunerRandomSearch__initialize(self = self, private = private, :
object 'OptimizerRandomSearch' not found
Calls: tune ... .__TunerFromOptimizer__initialize -> assert_optimizer -> assert_r6 -> checkR6
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.5.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [64s/83s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("checkmate")
+ library("mlr3tuningspaces")
+ test_check("mlr3tuningspaces")
+ }
Loading required package: mlr3tuning
Loading required package: mlr3
Loading required package: paradox
OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead.
OptimInstanceMultiCrit is deprecated. Use OptimInstanceBatchMultiCrit instead.
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1338 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_as_search_space.R:30:3'): search space from TuningSpace works ──
Error in `.__TunerRandomSearch__initialize(self = self, private = private,
super = super)`: object 'OptimizerRandomSearch' not found
Backtrace:
▆
1. ├─AutoTuner$new(...) at test_as_search_space.R:30:3
2. │ └─mlr3tuning (local) initialize(...)
3. │ └─mlr3tuning:::.__AutoTuner__initialize(...)
4. │ └─mlr3tuning:::assert_tuner(tuner)
5. │ └─checkmate::assert_r6(tuner, "Tuner")
6. │ └─checkmate::checkR6(...)
7. └─mlr3tuning::tnr("random_search")
8. └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
9. └─mlr3misc:::dictionary_get(dict, .key)
10. └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
11. ├─base::do.call(constructor$new, cargs)
12. └─R6 (local) `<fn>`()
13. └─mlr3tuning (local) initialize(...)
14. └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
15. └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
16. └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
17. └─bbotk::assert_optimizer(optimizer)
18. └─checkmate::assert_r6(optimizer, "Optimizer")
19. └─checkmate::checkR6(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1338 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc