Package check result: OK Changes to worse in reverse depends: Package: bbotk Check: tests New result: ERROR Running ‘testthat.R’ [60s/64s] 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 643 ] ══ 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:162: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:162: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:162: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:162:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3 ── Failure ('test_OptimizerIrace.R:162: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:162:3 2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3 ── Failure ('test_OptimizerIrace.R:162: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:162:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3 ── Failure ('test_OptimizerIrace.R:162: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:162:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3 ── Failure ('test_OptimizerIrace.R:176: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:176: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:176: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:176:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3 ── Failure ('test_OptimizerIrace.R:176: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:176:3 2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3 ── Failure ('test_OptimizerIrace.R:176: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:176:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3 ── Failure ('test_OptimizerIrace.R:176: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:176:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3 ── Failure ('test_OptimizerIrace.R:190: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:190: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:190: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:190:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3 ── Failure ('test_OptimizerIrace.R:190: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:190:3 2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3 ── Failure ('test_OptimizerIrace.R:190: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:190:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3 ── Failure ('test_OptimizerIrace.R:190: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:190:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3 ── Failure ('test_OptimizerIrace.R:204: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:204: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:204: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:204:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3 ── Failure ('test_OptimizerIrace.R:204: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:204:3 2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3 ── Failure ('test_OptimizerIrace.R:204: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:204:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3 ── Failure ('test_OptimizerIrace.R:204: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:204:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3 ── Failure ('test_OptimizerIrace.R:217: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:217: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:217: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:217:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3 ── Failure ('test_OptimizerIrace.R:217: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:217:3 2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3 ── Failure ('test_OptimizerIrace.R:217: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:217:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3 ── Failure ('test_OptimizerIrace.R:217: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:217:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3 ── Failure ('test_OptimizerIrace.R:234: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:234: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:234: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:234:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3 ── Failure ('test_OptimizerIrace.R:234: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:234:3 2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3 ── Failure ('test_OptimizerIrace.R:234: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:234:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3 ── Failure ('test_OptimizerIrace.R:234: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:234:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3 ── Failure ('test_OptimizerIrace.R:259: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:259: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:259: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:259:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:171:3 ── Failure ('test_OptimizerIrace.R:259: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:259:3 2. └─testthat::expect_equal(parameters$domain, domain) at tests/testthat/helper.R:176:3 ── Failure ('test_OptimizerIrace.R:259: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:259:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:184:3 ── Failure ('test_OptimizerIrace.R:259: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:259:3 2. └─testthat::expect_equal(...) at tests/testthat/helper.R:185:3 [ FAIL 39 | WARN 0 | SKIP 50 | PASS 643 ] Error: Test failures Execution halted Package: iraceplot Check: examples New result: ERROR Running examples in ‘iraceplot-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: parallel_cat > ### Title: Parallel Coordinates Category > ### Aliases: parallel_cat > > ### ** Examples > > iraceResults <- read_logfile(system.file(package="irace", "exdata", + "irace-acotsp.Rdata", mustWork = TRUE)) > parallel_cat(iraceResults) Error in !is_fixed : invalid argument type Calls: parallel_cat -> subset_param_names Execution halted Package: mlr3tuning Check: tests New result: ERROR Running ‘testthat.R’ [149s/149s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library("testthat") + library("checkmate") + library("mlr3tuning") + test_check("mlr3tuning") + } Loading required package: mlr3 Loading required package: paradox [ FAIL 5 | WARN 0 | SKIP 58 | PASS 4544 ] ══ Skipped tests (58) ══════════════════════════════════════════════════════════ • On CRAN (58): 'test_ArchiveAsyncTuning.R:2:3', 'test_ArchiveAsyncTuning.R:55:3', 'test_ArchiveAsyncTuning.R:110:3', 'test_ArchiveAsyncTuning.R:134:3', 'test_ArchiveAsyncTuning.R:154:3', 'test_ArchiveAsyncTuning.R:191:3', 'test_ArchiveAsyncTuning.R:230:3', 'test_ArchiveAsyncTuning.R:261:3', 'test_AutoTuner.R:622:3', 'test_CallbackAsyncTuning.R:4:3', 'test_CallbackAsyncTuning.R:29:3', 'test_CallbackAsyncTuning.R:55:3', 'test_CallbackAsyncTuning.R:80:3', 'test_CallbackAsyncTuning.R:107:3', 'test_CallbackAsyncTuning.R:139:3', 'test_CallbackAsyncTuning.R:162:3', 'test_CallbackAsyncTuning.R:192:3', 'test_CallbackAsyncTuning.R:219:3', 'test_CallbackAsyncTuning.R:244:3', 'test_CallbackAsyncTuning.R:271:3', 'test_CallbackAsyncTuning.R:298:3', 'test_CallbackAsyncTuning.R:324:3', 'test_Tuner.R:68:3', 'test_TunerAsyncDesignPoints.R:2:3', 'test_TunerAsyncGridSearch.R:2:3', 'test_TunerAsyncRandomSearch.R:2:3', 'test_TuningInstanceAsyncMultiCrit.R:2:3', 'test_TuningInstanceAsyncMultiCrit.R:28:3', 'test_TuningInstanceAsyncMultiCrit.R:51:3', 'test_TuningInstanceAsyncMultiCrit.R:73:3', 'test_TuningInstanceAsyncMultiCrit.R:95:3', 'test_TuningInstanceAsyncMultiCrit.R:121:3', 'test_TuningInstanceAsyncMultiCrit.R:174:3', 'test_TuningInstanceAsyncSingleCrit.R:2:3', 'test_TuningInstanceAsyncSingleCrit.R:27:3', 'test_TuningInstanceAsyncSingleCrit.R:48:3', 'test_TuningInstanceAsyncSingleCrit.R:70:3', 'test_TuningInstanceAsyncSingleCrit.R:94:3', 'test_TuningInstanceAsyncSingleCrit.R:119:3', 'test_TuningInstanceAsyncSingleCrit.R:167:3', 'test_TuningInstanceAsyncSingleCrit.R:195:3', 'test_TuningInstanceAsyncSingleCrit.R:208:3', 'test_auto_tuner.R:25:3', 'test_auto_tuner.R:46:3', 'test_mlr_callbacks.R:40:3', 'test_mlr_callbacks.R:91:3', 'test_mlr_callbacks.R:113:3', 'test_mlr_callbacks.R:135:3', 'test_mlr_callbacks.R:154:3', 'test_mlr_callbacks.R:182:3', 'test_mlr_callbacks.R:206:3', 'test_mlr_callbacks.R:237:3', 'test_mlr_callbacks.R:394:3', 'test_mlr_callbacks.R:434:3', 'test_ti_async.R:2:3', 'test_ti_async.R:16:3', 'test_ti_async.R:30:3', 'test_ti_async.R:42:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_TunerBatchIrace.R:4:23'): TunerIrace ─────────────────────────── 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(...) at test_TunerBatchIrace.R:4:3 2. │ └─base::withVisible(...elt(i)) 3. └─global test_tuner("irace", term_evals = 42, real_evals = 39) at test_TunerBatchIrace.R:4:23 4. └─tuner$optimize(inst) 5. └─mlr3tuning:::.__TunerBatchIrace__optimize(...) 6. └─private$.optimizer$optimize(inst) 7. └─bbotk:::.__OptimizerBatch__optimize(...) 8. └─bbotk::optimize_batch_default(inst, self) 9. ├─base::tryCatch(...) 10. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. └─get_private(optimizer)$.optimize(instance) 14. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) ── Error ('test_TunerBatchIrace.R:32:23'): TunerIrace works with dependencies ── 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(...) at test_TunerBatchIrace.R:32:3 2. │ └─base::withVisible(...elt(i)) 3. └─tuner$optimize(instance) at test_TunerBatchIrace.R:32:23 4. └─mlr3tuning:::.__TunerBatchIrace__optimize(...) 5. └─private$.optimizer$optimize(inst) 6. └─bbotk:::.__OptimizerBatch__optimize(...) 7. └─bbotk::optimize_batch_default(inst, self) 8. ├─base::tryCatch(...) 9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. └─get_private(optimizer)$.optimize(instance) 13. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) ── Error ('test_TunerBatchIrace.R:44:23'): TunerIrace works with logical parameters ── 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(...) at test_TunerBatchIrace.R:44:3 2. │ └─base::withVisible(...elt(i)) 3. └─tuner$optimize(instance) at test_TunerBatchIrace.R:44:23 4. └─mlr3tuning:::.__TunerBatchIrace__optimize(...) 5. └─private$.optimizer$optimize(inst) 6. └─bbotk:::.__OptimizerBatch__optimize(...) 7. └─bbotk::optimize_batch_default(inst, self) 8. ├─base::tryCatch(...) 9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. └─get_private(optimizer)$.optimize(instance) 13. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) ── Error ('test_TunerBatchIrace.R:53:23'): TunerIrace uses digits ────────────── 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(...) at test_TunerBatchIrace.R:53:3 2. │ └─base::withVisible(...elt(i)) 3. ├─checkmate::expect_data_table(tuner$optimize(instance)) at test_TunerBatchIrace.R:53:23 4. │ └─checkmate::checkDataTable(...) 5. └─tuner$optimize(instance) 6. └─mlr3tuning:::.__TunerBatchIrace__optimize(...) 7. └─private$.optimizer$optimize(inst) 8. └─bbotk:::.__OptimizerBatch__optimize(...) 9. └─bbotk::optimize_batch_default(inst, self) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─get_private(optimizer)$.optimize(instance) 15. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) ── Error ('test_TunerBatchIrace.R:62:23'): TunerIrace works with unnamed discrete values ── 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(...) at test_TunerBatchIrace.R:62:3 2. │ └─base::withVisible(...elt(i)) 3. ├─checkmate::expect_data_table(tuner$optimize(inst)) at test_TunerBatchIrace.R:62:23 4. │ └─checkmate::checkDataTable(...) 5. └─tuner$optimize(inst) 6. └─mlr3tuning:::.__TunerBatchIrace__optimize(...) 7. └─private$.optimizer$optimize(inst) 8. └─bbotk:::.__OptimizerBatch__optimize(...) 9. └─bbotk::optimize_batch_default(inst, self) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─get_private(optimizer)$.optimize(instance) 15. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) [ FAIL 5 | WARN 0 | SKIP 58 | PASS 4544 ] Error: Test failures Execution halted Package: ParamHelpers Check: tests New result: ERROR Running ‘run-all.R’ [13s/13s] Running the tests in ‘tests/run-all.R’ failed. Complete output: > library(testthat) > library(BBmisc) Attaching package: 'BBmisc' The following object is masked from 'package:base': isFALSE > library(ParamHelpers) > > test_check("ParamHelpers") [ FAIL 2 | WARN 3 | SKIP 1 | PASS 1047 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_convertParamSetToIrace.R:4:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_convertParamSetToIrace.R:71:3'): convertParamSetToIrace uses correct boundaries ── Error in `params$boundary <- `*vtmp*``: cannot add bindings to a locked environment Backtrace: ▆ 1. └─ParamHelpers::convertParamSetToIrace(ps) at test_convertParamSetToIrace.R:71:3 ── Error ('test_convertParamSetToIrace.R:85:3'): convertParamSetToIrace work with vecparam ── Error in `params$boundary <- `*vtmp*``: cannot add bindings to a locked environment Backtrace: ▆ 1. └─ParamHelpers::convertParamSetToIrace(ps) at test_convertParamSetToIrace.R:85:3 [ FAIL 2 | WARN 3 | SKIP 1 | PASS 1047 ] Error: Test failures Execution halted