Running ‘testthat.R’ [49s/79s]
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 12 | WARN 0 | SKIP 1 | PASS 806 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_OptimizerIrace.R:116'): paradox_to_irace without dependencies ──
  Check on 'parameters' failed: Must have length 12, but has length 13
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:116:2
   2.   └─checkmate::expect_list(parameters, len = 12, any.missing = FALSE) at tests/testthat/helper.R:194:2
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_OptimizerIrace.R:116'): paradox_to_irace without dependencies ──
  names(parameters) (`actual`) not equal to c(...) (`expected`).
  
       actual         | expected           
   [5] "conditions"   | "conditions"   [5] 
   [6] "isFixed"      | "isFixed"      [6] 
   [7] "transform"    | "transform"    [7] 
   [8] "isDependent"  -                    
   [9] "depends"      | "depends"      [8] 
  [10] "hierarchy"    | "hierarchy"    [9] 
  [11] "nbParameters" | "nbParameters" [10]
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:116:2
   2.   └─testthat::expect_equal(...) at tests/testthat/helper.R:195:2
  ── Failure ('test_OptimizerIrace.R:130'): paradox_to_irace without dependencies ──
  Check on 'parameters' failed: Must have length 12, but has length 13
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:130:2
   2.   └─checkmate::expect_list(parameters, len = 12, any.missing = FALSE) at tests/testthat/helper.R:194:2
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_OptimizerIrace.R:130'): paradox_to_irace without dependencies ──
  names(parameters) (`actual`) not equal to c(...) (`expected`).
  
       actual         | expected           
   [5] "conditions"   | "conditions"   [5] 
   [6] "isFixed"      | "isFixed"      [6] 
   [7] "transform"    | "transform"    [7] 
   [8] "isDependent"  -                    
   [9] "depends"      | "depends"      [8] 
  [10] "hierarchy"    | "hierarchy"    [9] 
  [11] "nbParameters" | "nbParameters" [10]
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:130:2
   2.   └─testthat::expect_equal(...) at tests/testthat/helper.R:195:2
  ── Failure ('test_OptimizerIrace.R:144'): paradox_to_irace without dependencies ──
  Check on 'parameters' failed: Must have length 12, but has length 13
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:144:2
   2.   └─checkmate::expect_list(parameters, len = 12, any.missing = FALSE) at tests/testthat/helper.R:194:2
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_OptimizerIrace.R:144'): paradox_to_irace without dependencies ──
  names(parameters) (`actual`) not equal to c(...) (`expected`).
  
       actual         | expected           
   [5] "conditions"   | "conditions"   [5] 
   [6] "isFixed"      | "isFixed"      [6] 
   [7] "transform"    | "transform"    [7] 
   [8] "isDependent"  -                    
   [9] "depends"      | "depends"      [8] 
  [10] "hierarchy"    | "hierarchy"    [9] 
  [11] "nbParameters" | "nbParameters" [10]
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:144:2
   2.   └─testthat::expect_equal(...) at tests/testthat/helper.R:195:2
  ── Failure ('test_OptimizerIrace.R:158'): paradox_to_irace with dependencies ───
  Check on 'parameters' failed: Must have length 12, but has length 13
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:158:2
   2.   └─checkmate::expect_list(parameters, len = 12, any.missing = FALSE) at tests/testthat/helper.R:194:2
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_OptimizerIrace.R:158'): paradox_to_irace with dependencies ───
  names(parameters) (`actual`) not equal to c(...) (`expected`).
  
       actual         | expected           
   [5] "conditions"   | "conditions"   [5] 
   [6] "isFixed"      | "isFixed"      [6] 
   [7] "transform"    | "transform"    [7] 
   [8] "isDependent"  -                    
   [9] "depends"      | "depends"      [8] 
  [10] "hierarchy"    | "hierarchy"    [9] 
  [11] "nbParameters" | "nbParameters" [10]
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:158:2
   2.   └─testthat::expect_equal(...) at tests/testthat/helper.R:195:2
  ── Failure ('test_OptimizerIrace.R:171'): paradox_to_irace with dependencies ───
  Check on 'parameters' failed: Must have length 12, but has length 13
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:171:2
   2.   └─checkmate::expect_list(parameters, len = 12, any.missing = FALSE) at tests/testthat/helper.R:194:2
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_OptimizerIrace.R:171'): paradox_to_irace with dependencies ───
  names(parameters) (`actual`) not equal to c(...) (`expected`).
  
       actual         | expected           
   [5] "conditions"   | "conditions"   [5] 
   [6] "isFixed"      | "isFixed"      [6] 
   [7] "transform"    | "transform"    [7] 
   [8] "isDependent"  -                    
   [9] "depends"      | "depends"      [8] 
  [10] "hierarchy"    | "hierarchy"    [9] 
  [11] "nbParameters" | "nbParameters" [10]
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:171:2
   2.   └─testthat::expect_equal(...) at tests/testthat/helper.R:195:2
  ── Failure ('test_OptimizerIrace.R:188'): paradox_to_irace with dependencies ───
  Check on 'parameters' failed: Must have length 12, but has length 13
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:188:2
   2.   └─checkmate::expect_list(parameters, len = 12, any.missing = FALSE) at tests/testthat/helper.R:194:2
   3.     └─checkmate::makeExpectation(x, res, info, label)
  ── Failure ('test_OptimizerIrace.R:188'): paradox_to_irace with dependencies ───
  names(parameters) (`actual`) not equal to c(...) (`expected`).
  
       actual         | expected           
   [5] "conditions"   | "conditions"   [5] 
   [6] "isFixed"      | "isFixed"      [6] 
   [7] "transform"    | "transform"    [7] 
   [8] "isDependent"  -                    
   [9] "depends"      | "depends"      [8] 
  [10] "hierarchy"    | "hierarchy"    [9] 
  [11] "nbParameters" | "nbParameters" [10]
  Backtrace:
      ▆
   1. └─bbotk:::expect_irace_parameters(...) at test_OptimizerIrace.R:188:2
   2.   └─testthat::expect_equal(...) at tests/testthat/helper.R:195:2
  
  [ FAIL 12 | WARN 0 | SKIP 1 | PASS 806 ]
  Error: Test failures
  Execution halted