Running ‘testthat.R’ [124s/176s]
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 1 | WARN 0 | SKIP 52 | PASS 732 ]
  
  ══ Skipped tests (52) ══════════════════════════════════════════════════════════
  • On CRAN (51): 'test_ArchiveAsync.R:2:3', 'test_ArchiveAsync.R:61:3',
    'test_ArchiveAsyncFrozen.R:2: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', 'test_mlr_callbacks.R:56:3'
  • TRUE is TRUE (1): 'test_mlr_callbacks.R:19:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_OptimizerIrace.R:154:3'): OptimizerBatchIrace works without passed constants set ──
  Error in `.__OptimizerBatchIrace__.assign_result(self = self, private = private, 
      super = super, inst = inst)`: `irace::irace` did not return a result. The evaluated configurations are still accessible through the archive.
  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.       └─get_private(optimizer)$.assign_result(instance)
   7.         └─bbotk:::.__OptimizerBatchIrace__.assign_result(...)
  
  [ FAIL 1 | WARN 0 | SKIP 52 | PASS 732 ]
  Error: Test failures
  Execution halted