Last updated on 2024-11-27 19:49:13 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.3.0 | 21.62 | 228.98 | 250.60 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.4.0 | 13.61 | 147.97 | 161.58 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.4.0 | 402.83 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.4.0 | 413.66 | ERROR | |||
r-devel-windows-x86_64 | 1.4.0 | 26.00 | 243.00 | 269.00 | ERROR | |
r-patched-linux-x86_64 | 1.3.0 | 20.99 | 216.48 | 237.47 | OK | |
r-release-linux-x86_64 | 1.3.0 | 19.15 | 219.67 | 238.82 | OK | |
r-release-macos-arm64 | 1.4.0 | 106.00 | OK | |||
r-release-macos-x86_64 | 1.4.0 | 210.00 | OK | |||
r-release-windows-x86_64 | 1.3.0 | 25.00 | 229.00 | 254.00 | OK | |
r-oldrel-macos-arm64 | 1.4.0 | 109.00 | OK | |||
r-oldrel-macos-x86_64 | 1.4.0 | 188.00 | OK | |||
r-oldrel-windows-x86_64 | 1.4.0 | 29.00 | 303.00 | 332.00 | ERROR |
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [81s/105s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("checkmate")
+ test_check("bbotk")
+ }
Loading required package: bbotk
Loading required package: paradox
[ FAIL 39 | WARN 0 | SKIP 50 | PASS 711 ]
══ Skipped tests (50) ══════════════════════════════════════════════════════════
• On CRAN (49): 'test_ArchiveAsync.R:2:3', 'test_ArchiveAsync.R:61:3',
'test_ArchiveBatch.R:3:3', 'test_CallbackAsync.R:4:3',
'test_CallbackAsync.R:29:3', 'test_CallbackAsync.R:55:3',
'test_CallbackAsync.R:82:3', 'test_CallbackAsync.R:110:3',
'test_CallbackAsync.R:144:3', 'test_CallbackAsync.R:171:3',
'test_CallbackAsync.R:196:3', 'test_CallbackAsync.R:223:3',
'test_CallbackAsync.R:251:3', 'test_CallbackAsync.R:277:3',
'test_Objective.R:9:3', 'test_OptimInstanceAsyncSingleCrit.R:2:3',
'test_OptimInstanceAsyncSingleCrit.R:25:3',
'test_OptimInstanceAsyncSingleCrit.R:43:3',
'test_OptimInstanceAsyncSingleCrit.R:61:3',
'test_OptimInstanceAsyncSingleCrit.R:78:3',
'test_OptimInstanceBatchMultiCrit.R:3:3',
'test_OptimInstanceBatchSingleCrit.R:8:3',
'test_OptimizerAsynDesignPoints.R:2:3', 'test_OptimizerAsynGridSearch.R:2:3',
'test_OptimizerAsync.R:2:3', 'test_OptimizerAsync.R:24:3',
'test_OptimizerAsync.R:61:3', 'test_OptimizerAsync.R:82:3',
'test_OptimizerAsync.R:110:3', 'test_OptimizerAsyncRandomSearch.R:2:3',
'test_OptimizerCmaes.R:28:3', 'test_OptimizerDesignPoints.R:5:3',
'test_OptimizerFocusSearch.R:4:3', 'test_OptimizerGenSA.R:6:3',
'test_OptimizerGridSearch.R:4:3', 'test_OptimizerLocalSearch.R:4:3',
'test_OptimizerLocalSearch.R:26:3', 'test_OptimizerLocalSearch.R:49:3',
'test_OptimizerNLoptr.R:9:3', 'test_OptimizerRandomSearch.R:4:3',
'test_TerminatorClockTime.R:5:3', 'test_TerminatorCombo.R:6:3',
'test_TerminatorEvals.R:5:3', 'test_TerminatorNone.R:5:3',
'test_TerminatorPerfReached.R:4:3', 'test_TerminatorRunTime.R:2:5',
'test_TerminatorStagnation.R:5:3', 'test_TerminatorStagnationBatch.R:5:3',
'test_TerminatorStagnationBatch.R:19:3'
• TRUE is TRUE (1): 'test_mlr_callbacks.R:19:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_OptimizerIrace.R:23:3'): OptimizerBatchIrace minimize works ────
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:23:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:63:3'): OptimizerBatchIrace maximize works ────
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:63:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:129:3'): OptimizerBatchIrace works with passed constants set ──
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:129:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:154:3'): OptimizerBatchIrace works without passed constants set ──
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:154:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE, ...)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
[ FAIL 39 | WARN 0 | SKIP 50 | PASS 711 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [196s/442s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("checkmate")
+ test_check("bbotk")
+ }
Loading required package: bbotk
Loading required package: paradox
[ FAIL 39 | WARN 0 | SKIP 50 | PASS 711 ]
══ Skipped tests (50) ══════════════════════════════════════════════════════════
• On CRAN (49): 'test_ArchiveAsync.R:2:3', 'test_ArchiveAsync.R:61:3',
'test_ArchiveBatch.R:3:3', 'test_CallbackAsync.R:4:3',
'test_CallbackAsync.R:29:3', 'test_CallbackAsync.R:55:3',
'test_CallbackAsync.R:82:3', 'test_CallbackAsync.R:110:3',
'test_CallbackAsync.R:144:3', 'test_CallbackAsync.R:171:3',
'test_CallbackAsync.R:196:3', 'test_CallbackAsync.R:223:3',
'test_CallbackAsync.R:251:3', 'test_CallbackAsync.R:277:3',
'test_Objective.R:9:3', 'test_OptimInstanceAsyncSingleCrit.R:2:3',
'test_OptimInstanceAsyncSingleCrit.R:25:3',
'test_OptimInstanceAsyncSingleCrit.R:43:3',
'test_OptimInstanceAsyncSingleCrit.R:61:3',
'test_OptimInstanceAsyncSingleCrit.R:78:3',
'test_OptimInstanceBatchMultiCrit.R:3:3',
'test_OptimInstanceBatchSingleCrit.R:8:3',
'test_OptimizerAsynDesignPoints.R:2:3', 'test_OptimizerAsynGridSearch.R:2:3',
'test_OptimizerAsync.R:2:3', 'test_OptimizerAsync.R:24:3',
'test_OptimizerAsync.R:61:3', 'test_OptimizerAsync.R:82:3',
'test_OptimizerAsync.R:110:3', 'test_OptimizerAsyncRandomSearch.R:2:3',
'test_OptimizerCmaes.R:28:3', 'test_OptimizerDesignPoints.R:5:3',
'test_OptimizerFocusSearch.R:4:3', 'test_OptimizerGenSA.R:6:3',
'test_OptimizerGridSearch.R:4:3', 'test_OptimizerLocalSearch.R:4:3',
'test_OptimizerLocalSearch.R:26:3', 'test_OptimizerLocalSearch.R:49:3',
'test_OptimizerNLoptr.R:9:3', 'test_OptimizerRandomSearch.R:4:3',
'test_TerminatorClockTime.R:5:3', 'test_TerminatorCombo.R:6:3',
'test_TerminatorEvals.R:5:3', 'test_TerminatorNone.R:5:3',
'test_TerminatorPerfReached.R:4:3', 'test_TerminatorRunTime.R:2:5',
'test_TerminatorStagnation.R:5:3', 'test_TerminatorStagnationBatch.R:5:3',
'test_TerminatorStagnationBatch.R:19:3'
• TRUE is TRUE (1): 'test_mlr_callbacks.R:19:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_OptimizerIrace.R:23:3'): OptimizerBatchIrace minimize works ────
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:23:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:63:3'): OptimizerBatchIrace maximize works ────
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:63:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:129:3'): OptimizerBatchIrace works with passed constants set ──
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:129:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:154:3'): OptimizerBatchIrace works without passed constants set ──
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:154:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE, ...)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
[ FAIL 39 | WARN 0 | SKIP 50 | PASS 711 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [198s/482s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("checkmate")
+ test_check("bbotk")
+ }
Loading required package: bbotk
Loading required package: paradox
[ FAIL 39 | WARN 0 | SKIP 50 | PASS 711 ]
══ Skipped tests (50) ══════════════════════════════════════════════════════════
• On CRAN (49): 'test_ArchiveAsync.R:2:3', 'test_ArchiveAsync.R:61:3',
'test_ArchiveBatch.R:3:3', 'test_CallbackAsync.R:4:3',
'test_CallbackAsync.R:29:3', 'test_CallbackAsync.R:55:3',
'test_CallbackAsync.R:82:3', 'test_CallbackAsync.R:110:3',
'test_CallbackAsync.R:144:3', 'test_CallbackAsync.R:171:3',
'test_CallbackAsync.R:196:3', 'test_CallbackAsync.R:223:3',
'test_CallbackAsync.R:251:3', 'test_CallbackAsync.R:277:3',
'test_Objective.R:9:3', 'test_OptimInstanceAsyncSingleCrit.R:2:3',
'test_OptimInstanceAsyncSingleCrit.R:25:3',
'test_OptimInstanceAsyncSingleCrit.R:43:3',
'test_OptimInstanceAsyncSingleCrit.R:61:3',
'test_OptimInstanceAsyncSingleCrit.R:78:3',
'test_OptimInstanceBatchMultiCrit.R:3:3',
'test_OptimInstanceBatchSingleCrit.R:8:3',
'test_OptimizerAsynDesignPoints.R:2:3', 'test_OptimizerAsynGridSearch.R:2:3',
'test_OptimizerAsync.R:2:3', 'test_OptimizerAsync.R:24:3',
'test_OptimizerAsync.R:61:3', 'test_OptimizerAsync.R:82:3',
'test_OptimizerAsync.R:110:3', 'test_OptimizerAsyncRandomSearch.R:2:3',
'test_OptimizerCmaes.R:28:3', 'test_OptimizerDesignPoints.R:5:3',
'test_OptimizerFocusSearch.R:4:3', 'test_OptimizerGenSA.R:6:3',
'test_OptimizerGridSearch.R:4:3', 'test_OptimizerLocalSearch.R:4:3',
'test_OptimizerLocalSearch.R:26:3', 'test_OptimizerLocalSearch.R:49:3',
'test_OptimizerNLoptr.R:9:3', 'test_OptimizerRandomSearch.R:4:3',
'test_TerminatorClockTime.R:5:3', 'test_TerminatorCombo.R:6:3',
'test_TerminatorEvals.R:5:3', 'test_TerminatorNone.R:5:3',
'test_TerminatorPerfReached.R:4:3', 'test_TerminatorRunTime.R:2:5',
'test_TerminatorStagnation.R:5:3', 'test_TerminatorStagnationBatch.R:5:3',
'test_TerminatorStagnationBatch.R:19:3'
• TRUE is TRUE (1): 'test_mlr_callbacks.R:19:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_OptimizerIrace.R:23:3'): OptimizerBatchIrace minimize works ────
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:23:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:63:3'): OptimizerBatchIrace maximize works ────
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:63:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:129:3'): OptimizerBatchIrace works with passed constants set ──
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:129:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:154:3'): OptimizerBatchIrace works without passed constants set ──
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:154:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at tests/testthat/helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE, ...)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3
[ FAIL 39 | WARN 0 | SKIP 50 | PASS 711 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.4.0
Check: tests
Result: ERROR
Running 'testthat.R' [110s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("checkmate")
+ test_check("bbotk")
+ }
Loading required package: bbotk
Loading required package: paradox
[ FAIL 39 | WARN 0 | SKIP 50 | PASS 700 ]
══ Skipped tests (50) ══════════════════════════════════════════════════════════
• On CRAN (48): 'test_ArchiveAsync.R:2:3', 'test_ArchiveAsync.R:61:3',
'test_ArchiveBatch.R:3:3', 'test_CallbackAsync.R:4:3',
'test_CallbackAsync.R:29:3', 'test_CallbackAsync.R:55:3',
'test_CallbackAsync.R:82:3', 'test_CallbackAsync.R:110:3',
'test_CallbackAsync.R:144:3', 'test_CallbackAsync.R:171:3',
'test_CallbackAsync.R:196:3', 'test_CallbackAsync.R:223:3',
'test_CallbackAsync.R:251:3', 'test_CallbackAsync.R:277:3',
'test_Objective.R:9:3', 'test_OptimInstanceAsyncSingleCrit.R:2:3',
'test_OptimInstanceAsyncSingleCrit.R:25:3',
'test_OptimInstanceAsyncSingleCrit.R:43:3',
'test_OptimInstanceAsyncSingleCrit.R:61:3',
'test_OptimInstanceAsyncSingleCrit.R:78:3',
'test_OptimInstanceBatchMultiCrit.R:3:3',
'test_OptimInstanceBatchSingleCrit.R:8:3',
'test_OptimizerAsynDesignPoints.R:2:3', 'test_OptimizerAsynGridSearch.R:2:3',
'test_OptimizerAsync.R:2:3', 'test_OptimizerAsync.R:24:3',
'test_OptimizerAsync.R:61:3', 'test_OptimizerAsync.R:82:3',
'test_OptimizerAsync.R:110:3', 'test_OptimizerAsyncRandomSearch.R:2:3',
'test_OptimizerCmaes.R:28:3', 'test_OptimizerDesignPoints.R:5:3',
'test_OptimizerFocusSearch.R:4:3', 'test_OptimizerGenSA.R:6:3',
'test_OptimizerGridSearch.R:4:3', 'test_OptimizerLocalSearch.R:4:3',
'test_OptimizerLocalSearch.R:26:3', 'test_OptimizerLocalSearch.R:49:3',
'test_OptimizerRandomSearch.R:4:3', 'test_TerminatorClockTime.R:5:3',
'test_TerminatorCombo.R:6:3', 'test_TerminatorEvals.R:5:3',
'test_TerminatorNone.R:5:3', 'test_TerminatorPerfReached.R:4:3',
'test_TerminatorRunTime.R:2:5', 'test_TerminatorStagnation.R:5:3',
'test_TerminatorStagnationBatch.R:5:3',
'test_TerminatorStagnationBatch.R:19:3'
• On Windows (1): 'test_OptimizerNLoptr.R:2:3'
• TRUE is TRUE (1): 'test_mlr_callbacks.R:19:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_OptimizerIrace.R:23:3'): OptimizerBatchIrace minimize works ────
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:23:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:63:3'): OptimizerBatchIrace maximize works ────
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:63:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:129:3'): OptimizerBatchIrace works with passed constants set ──
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:129:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:154:3'): OptimizerBatchIrace works without passed constants set ──
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:154:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE, ...)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.5\bbotk.Rcheck\tests\testthat\helper.R:185:3
[ FAIL 39 | WARN 0 | SKIP 50 | PASS 700 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.4.0
Check: tests
Result: ERROR
Running 'testthat.R' [163s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("checkmate")
+ test_check("bbotk")
+ }
Loading required package: bbotk
Loading required package: paradox
[ FAIL 39 | WARN 0 | SKIP 50 | PASS 700 ]
══ Skipped tests (50) ══════════════════════════════════════════════════════════
• On CRAN (48): 'test_ArchiveAsync.R:2:3', 'test_ArchiveAsync.R:61:3',
'test_ArchiveBatch.R:3:3', 'test_CallbackAsync.R:4:3',
'test_CallbackAsync.R:29:3', 'test_CallbackAsync.R:55:3',
'test_CallbackAsync.R:82:3', 'test_CallbackAsync.R:110:3',
'test_CallbackAsync.R:144:3', 'test_CallbackAsync.R:171:3',
'test_CallbackAsync.R:196:3', 'test_CallbackAsync.R:223:3',
'test_CallbackAsync.R:251:3', 'test_CallbackAsync.R:277:3',
'test_Objective.R:9:3', 'test_OptimInstanceAsyncSingleCrit.R:2:3',
'test_OptimInstanceAsyncSingleCrit.R:25:3',
'test_OptimInstanceAsyncSingleCrit.R:43:3',
'test_OptimInstanceAsyncSingleCrit.R:61:3',
'test_OptimInstanceAsyncSingleCrit.R:78:3',
'test_OptimInstanceBatchMultiCrit.R:3:3',
'test_OptimInstanceBatchSingleCrit.R:8:3',
'test_OptimizerAsynDesignPoints.R:2:3', 'test_OptimizerAsynGridSearch.R:2:3',
'test_OptimizerAsync.R:2:3', 'test_OptimizerAsync.R:24:3',
'test_OptimizerAsync.R:61:3', 'test_OptimizerAsync.R:82:3',
'test_OptimizerAsync.R:110:3', 'test_OptimizerAsyncRandomSearch.R:2:3',
'test_OptimizerCmaes.R:28:3', 'test_OptimizerDesignPoints.R:5:3',
'test_OptimizerFocusSearch.R:4:3', 'test_OptimizerGenSA.R:6:3',
'test_OptimizerGridSearch.R:4:3', 'test_OptimizerLocalSearch.R:4:3',
'test_OptimizerLocalSearch.R:26:3', 'test_OptimizerLocalSearch.R:49:3',
'test_OptimizerRandomSearch.R:4:3', 'test_TerminatorClockTime.R:5:3',
'test_TerminatorCombo.R:6:3', 'test_TerminatorEvals.R:5:3',
'test_TerminatorNone.R:5:3', 'test_TerminatorPerfReached.R:4:3',
'test_TerminatorRunTime.R:2:5', 'test_TerminatorStagnation.R:5:3',
'test_TerminatorStagnationBatch.R:5:3',
'test_TerminatorStagnationBatch.R:19:3'
• On Windows (1): 'test_OptimizerNLoptr.R:2:3'
• TRUE is TRUE (1): 'test_mlr_callbacks.R:19:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_OptimizerIrace.R:23:3'): OptimizerBatchIrace minimize works ────
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:23:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:63:3'): OptimizerBatchIrace maximize works ────
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:63:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:129:3'): OptimizerBatchIrace works with passed constants set ──
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:129:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Error ('test_OptimizerIrace.R:154:3'): OptimizerBatchIrace works without passed constants set ──
Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space,
pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits))
Backtrace:
▆
1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerIrace.R:154:3
2. │ └─base::withVisible(...elt(i))
3. └─optimizer$optimize(instance)
4. └─bbotk:::.__OptimizerBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...)
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:164:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:164:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:178:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:178:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:192:3'): paradox_to_irace without dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:192:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:208:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:208:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:221:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:221:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:238:3'): paradox_to_irace with dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:238:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:185:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
Check on 'parameters' failed: Must be of type 'list', not 'ParameterSpace/R6'
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─checkmate::expect_list(parameters, len = 13, any.missing = FALSE) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:170:3
3. └─checkmate::makeExpectation(x, res, info, label)
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
names(parameters) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] ".__enclos_env__" - "names" [1]
[2] "types" | "types" [2]
[3] "switches" | "switches" [3]
[4] "nbVariable" - "domain" [4]
[5] "nbFixed" - "conditions" [5]
[6] "nbParameters" - "isFixed" [6]
[7] "names_numeric" - "transform" [7]
[8] "names_variable" - "isDependent" [8]
[9] "names_fixed" - "depends" [9]
[10] "names" - "hierarchy" [10]
... ... ... and 13 more ...
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:171:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$domain (`actual`) not equal to `domain` (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(parameters$domain, domain) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:176:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$transform (`actual`) not equal to named_list(names, "") (`expected`).
`actual` is NULL
`expected` is a list
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:184:3
── Failure ('test_OptimizerIrace.R:265:3'): paradox_to_irace works with parameters with multiple dependencies ──
parameters$isDependent (`actual`) not equal to named_vector(names, FALSE) (`expected`).
`actual` is NULL
`expected` is a logical vector (FALSE, FALSE, FALSE, FALSE, FALSE, ...)
Backtrace:
▆
1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:265:3
2. └─testthat::expect_equal(...) at D:\RCompile\CRANpkg\local\4.3\bbotk.Rcheck\tests\testthat\helper.R:185:3
[ FAIL 39 | WARN 0 | SKIP 50 | PASS 700 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64