Last updated on 2022-04-24 03:52:59 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
bbotk | 1 | 11 | |
farff | 1 | 11 | |
mlr3fselect | 12 | ||
mlr3hyperband | 5 | 7 | |
mlr3spatial | 2 | 10 | |
mlr3tuning | 12 | ||
mlr3tuningspaces | 12 |
Current CRAN status: NOTE: 1, OK: 11
Version: 0.5.2
Check: Rd cross-references
Result: NOTE
Undeclared package ‘mlr3’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang
Current CRAN status: NOTE: 1, OK: 11
Version: 1.1.1
Check: Rd cross-references
Result: NOTE
Undeclared package ‘RWeka’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang
Current CRAN status: OK: 12
Current CRAN status: ERROR: 5, OK: 7
Version: 0.4.0
Check: tests
Result: ERROR
Running 'testthat.R' [314s/193s]
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 0 | SKIP 0 | PASS 132 ]
== Failed tests ================================================================
-- Error (test_TunerSuccessiveHalving.R:108:3): TunerSuccessiveHalving errors if not enough parameters are sampled --
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a set equal to {'x','message_train'}, but is missing elements {'message_train'}.
Backtrace:
x
1. +-testthat::expect_error(...) at test_TunerSuccessiveHalving.R:108:2
2. | \-testthat:::expect_condition_matching(...)
3. | \-testthat:::quasi_capture(...)
4. | +-testthat .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(inst)
11. \-bbotk:::.__Optimizer__optimize(...)
12. \-bbotk::optimize_default(inst, self, private)
13. +-base::tryCatch(...)
14. | \-base tryCatchList(expr, classes, parentenv, handlers)
15. | \-base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. | \-base doTryCatch(return(expr), name, parentenv, handler)
17. \-private$.optimize(inst)
18. \-checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. \-checkmate::makeAssertion(x, res, .var.name, add)
20. \-checkmate:::mstop(...)
-- Error (test_TunerSuccessiveHalving.R:131:3): TunerSuccessiveHalving errors if budget parameter is sampled --
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a permutation of set {'x'}, but has extra elements {'iter'}.
Backtrace:
x
1. +-testthat::expect_error(...) at test_TunerSuccessiveHalving.R:131:2
2. | \-testthat:::expect_condition_matching(...)
3. | \-testthat:::quasi_capture(...)
4. | +-testthat .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(inst)
11. \-bbotk:::.__Optimizer__optimize(...)
12. \-bbotk::optimize_default(inst, self, private)
13. +-base::tryCatch(...)
14. | \-base tryCatchList(expr, classes, parentenv, handlers)
15. | \-base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. | \-base doTryCatch(return(expr), name, parentenv, handler)
17. \-private$.optimize(inst)
18. \-checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. \-checkmate::makeAssertion(x, res, .var.name, add)
20. \-checkmate:::mstop(...)
-- Error (test_TunerHyperband.R:91:3): TunerHyperband errors if not enough parameters are sampled --
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a set equal to {'x','message_train'}, but is missing elements {'message_train'}.
Backtrace:
x
1. +-testthat::expect_error(...) at test_TunerHyperband.R:91:2
2. | \-testthat:::expect_condition_matching(...)
3. | \-testthat:::quasi_capture(...)
4. | +-testthat .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(inst)
11. \-bbotk:::.__Optimizer__optimize(...)
12. \-bbotk::optimize_default(inst, self, private)
13. +-base::tryCatch(...)
14. | \-base tryCatchList(expr, classes, parentenv, handlers)
15. | \-base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. | \-base doTryCatch(return(expr), name, parentenv, handler)
17. \-private$.optimize(inst)
18. \-checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. \-checkmate::makeAssertion(x, res, .var.name, add)
20. \-checkmate:::mstop(...)
-- Error (test_TunerHyperband.R:114:3): TunerHyperband errors if budget parameter is sampled --
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a permutation of set {'x'}, but has extra elements {'iter'}.
Backtrace:
x
1. +-testthat::expect_error(...) at test_TunerHyperband.R:114:2
2. | \-testthat:::expect_condition_matching(...)
3. | \-testthat:::quasi_capture(...)
4. | +-testthat .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(inst)
11. \-bbotk:::.__Optimizer__optimize(...)
12. \-bbotk::optimize_default(inst, self, private)
13. +-base::tryCatch(...)
14. | \-base tryCatchList(expr, classes, parentenv, handlers)
15. | \-base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. | \-base doTryCatch(return(expr), name, parentenv, handler)
17. \-private$.optimize(inst)
18. \-checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. \-checkmate::makeAssertion(x, res, .var.name, add)
20. \-checkmate:::mstop(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 132 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [209s/181s]
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 0 | SKIP 0 | PASS 132 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test_TunerSuccessiveHalving.R:108:3): TunerSuccessiveHalving errors if not enough parameters are sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a set equal to {'x','message_train'}, but is missing elements {'message_train'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:108:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerSuccessiveHalving.R:131:3): TunerSuccessiveHalving errors if budget parameter is sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a permutation of set {'x'}, but has extra elements {'iter'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:131:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerHyperband.R:91:3): TunerHyperband errors if not enough parameters are sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a set equal to {'x','message_train'}, but is missing elements {'message_train'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerHyperband.R:91:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerHyperband.R:114:3): TunerHyperband errors if budget parameter is sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a permutation of set {'x'}, but has extra elements {'iter'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerHyperband.R:114:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 132 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.0
Check: Rd cross-references
Result: NOTE
Undeclared package ‘future’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [328s/169s]
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 0 | SKIP 0 | PASS 132 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test_TunerSuccessiveHalving.R:108:3): TunerSuccessiveHalving errors if not enough parameters are sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a set equal to {'x','message_train'}, but is missing elements {'message_train'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:108:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerSuccessiveHalving.R:131:3): TunerSuccessiveHalving errors if budget parameter is sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a permutation of set {'x'}, but has extra elements {'iter'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:131:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerHyperband.R:91:3): TunerHyperband errors if not enough parameters are sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a set equal to {'x','message_train'}, but is missing elements {'message_train'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerHyperband.R:91:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerHyperband.R:114:3): TunerHyperband errors if budget parameter is sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a permutation of set {'x'}, but has extra elements {'iter'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerHyperband.R:114:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 132 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [321s/171s]
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 0 | SKIP 0 | PASS 132 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test_TunerSuccessiveHalving.R:108:3): TunerSuccessiveHalving errors if not enough parameters are sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a set equal to {'x','message_train'}, but is missing elements {'message_train'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:108:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerSuccessiveHalving.R:131:3): TunerSuccessiveHalving errors if budget parameter is sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a permutation of set {'x'}, but has extra elements {'iter'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:131:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerHyperband.R:91:3): TunerHyperband errors if not enough parameters are sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a set equal to {'x','message_train'}, but is missing elements {'message_train'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerHyperband.R:91:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerHyperband.R:114:3): TunerHyperband errors if budget parameter is sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a permutation of set {'x'}, but has extra elements {'iter'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerHyperband.R:114:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 132 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [273s/175s]
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 0 | SKIP 0 | PASS 132 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test_TunerSuccessiveHalving.R:108:3): TunerSuccessiveHalving errors if not enough parameters are sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a set equal to {'x','message_train'}, but is missing elements {'message_train'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:108:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerSuccessiveHalving.R:131:3): TunerSuccessiveHalving errors if budget parameter is sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a permutation of set {'x'}, but has extra elements {'iter'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerSuccessiveHalving.R:131:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerHyperband.R:91:3): TunerHyperband errors if not enough parameters are sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a set equal to {'x','message_train'}, but is missing elements {'message_train'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerHyperband.R:91:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
── Error (test_TunerHyperband.R:114:3): TunerHyperband errors if budget parameter is sampled ──
Error in `private$.optimize(inst)`: Assertion on 'sampler$param_set$ids()' failed: Must be a permutation of set {'x'}, but has extra elements {'iter'}.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_TunerHyperband.R:114:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .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(inst)
11. └─bbotk:::.__Optimizer__optimize(...)
12. └─bbotk::optimize_default(inst, self, private)
13. ├─base::tryCatch(...)
14. │ └─base tryCatchList(expr, classes, parentenv, handlers)
15. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. │ └─base doTryCatch(return(expr), name, parentenv, handler)
17. └─private$.optimize(inst)
18. └─checkmate::assert_set_equal(sampler$param_set$ids(), search_space_sampler$ids())
19. └─checkmate::makeAssertion(x, res, .var.name, add)
20. └─checkmate:::mstop(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 132 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Current CRAN status: NOTE: 2, OK: 10
Version: 0.1.2
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘sf’
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64
Version: 0.1.2
Check: Rd cross-references
Result: NOTE
Package unavailable to check Rd xrefs: ‘sf’
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64
Current CRAN status: OK: 12
Current CRAN status: OK: 12