Running ‘testthat.R’ [2s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(irace)
  > test_check("irace", reporter = c("summary","check"))
  GenericWrapper4AC: S
  bugs: S......
  Capping: 1── 1. Error: cap.irace maxExperiments = 1000 (@test-capping.R#162)  ────────────
  invalid subscript type 'list'
  Backtrace:
   1. irace:::cap.irace(maxExperiments = 1000)
   2. irace:::checkTargetFiles(scenario = scenario, parameters = parameters)
   3. irace:::createExperimentList(...)
   5. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  2── 2. Error: cap.irace maxExperiments = 50000 (@test-capping.R#167)  ───────────
  invalid subscript type 'list'
  Backtrace:
   1. irace:::cap.irace(maxTime = 50000)
   2. irace:::checkTargetFiles(scenario = scenario, parameters = parameters)
   3. irace:::createExperimentList(...)
   5. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  S
  Test forbidden: ..
  irace: 3── 3. Error: maxTime 500 (@test-maxTime.R#35)  ─────────────────────────────────
  invalid subscript type 'list'
  Backtrace:
   1. irace:::time.irace(maxTime = 500)
   2. irace:::checkTargetFiles(scenario = scenario, parameters = parameters)
   3. irace:::createExperimentList(...)
   5. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  S
  mlr: S
  path.rel2abs: S........................................................................................................
  irace: S4── 4. Error: parallel reject (@test-sann-irace.R#97)  ──────────────────────────
  invalid subscript type 'list'
  Backtrace:
   1. irace:::sann.irace(...)
   2. irace::irace(scenario = scenario, parameters = parameters)
   3. irace:::race(...)
   4. irace:::race.wrapper(...)
   5. irace:::createExperimentList(...)
   7. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  SS
  similarConfigurations: 5── 5. Error: similarConfigurations (@test-similar.R#28)  ───────────────────────
  invalid argument type
  Backtrace:
   1. testthat::expect_identical(...)
   4. irace:::similarConfigurations(confs[1:10, ], parameters, threshold = 0.001)
  
  
  targetRunnerParallel: 6── 6. Error: targetRunnerParallel (@test-targetRunnerParallel.R#36)  ───────────
  invalid subscript type 'list'
  Backtrace:
   1. irace::irace(scenario = tuner.config, parameters = parameters)
   2. irace:::race(...)
   3. irace:::race.wrapper(...)
   4. irace:::createExperimentList(...)
   6. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  7── 7. Error: targetRunnerData (@test-targetRunnerParallel.R#54)  ───────────────
  invalid subscript type 'list'
  Backtrace:
    1. testthat::expect_output(...)
   10. irace::irace(...)
   11. irace:::race(...)
   12. irace:::race.wrapper(...)
   13. irace:::createExperimentList(...)
   15. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  
  targeteval: 8── 8. Error: target.evaluator (@test-targeteval.R#27)  ─────────────────────────
  invalid subscript type 'list'
  Backtrace:
   1. irace:::checkTargetFiles(scenario = scenario, parameters = parameters)
   2. irace:::createExperimentList(...)
   4. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  
  
  ══ Skipped ═════════════════════════════════════════════════════════════════════
  1. GenericWrapper4AC (@test-GenericWrapper4AC.R#5) - Reason: On CRAN
  
  2. bug_large_new_instances (@test-bugs.R#4) - Reason: On CRAN
  
  3. cap.irace targetRunner = target.runner.reject, maxTime = 10000 (@test-capping.R#171) - Reason: On CRAN
  
  4. maxTime 500 (@test-maxTime.R#39) - Reason: On CRAN
  
  5. mlr (@test-mlr.R#4) - Reason: On CRAN
  
  6. test.path.rel2abs (@test-path.R#9) - Reason: Error in setwd("/x"): cannot change working directory
  
  
  7. parallel (@test-sann-irace.R#85) - Reason: On CRAN
  
  8. deterministic (@test-sann-irace.R#101) - Reason: On CRAN
  
  9. log (@test-sann-irace.R#109) - Reason: On CRAN
  
  ══ Failed ══════════════════════════════════════════════════════════════════════
  ── 1. Error: cap.irace maxExperiments = 1000 (@test-capping.R#162)  ────────────
  invalid subscript type 'list'
  Backtrace:
   1. irace:::cap.irace(maxExperiments = 1000) test-capping.R:162:2
   2. irace:::checkTargetFiles(scenario = scenario, parameters = parameters) test-capping.R:151:2
   3. irace:::createExperimentList(...)
   5. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  ── 2. Error: cap.irace maxExperiments = 50000 (@test-capping.R#167)  ───────────
  invalid subscript type 'list'
  Backtrace:
   1. irace:::cap.irace(maxTime = 50000) test-capping.R:167:2
   2. irace:::checkTargetFiles(scenario = scenario, parameters = parameters) test-capping.R:151:2
   3. irace:::createExperimentList(...)
   5. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  ── 3. Error: maxTime 500 (@test-maxTime.R#35)  ─────────────────────────────────
  invalid subscript type 'list'
  Backtrace:
   1. irace:::time.irace(maxTime = 500) test-maxTime.R:35:2
   2. irace:::checkTargetFiles(scenario = scenario, parameters = parameters) test-maxTime.R:26:2
   3. irace:::createExperimentList(...)
   5. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  ── 4. Error: parallel reject (@test-sann-irace.R#97)  ──────────────────────────
  invalid subscript type 'list'
  Backtrace:
   1. irace:::sann.irace(...) test-sann-irace.R:97:2
   2. irace::irace(scenario = scenario, parameters = parameters) test-sann-irace.R:77:2
   3. irace:::race(...)
   4. irace:::race.wrapper(...)
   5. irace:::createExperimentList(...)
   7. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  ── 5. Error: similarConfigurations (@test-similar.R#28)  ───────────────────────
  invalid argument type
  Backtrace:
   1. testthat::expect_identical(...) test-similar.R:28:2
   4. irace:::similarConfigurations(confs[1:10, ], parameters, threshold = 0.001)
  
  ── 6. Error: targetRunnerParallel (@test-targetRunnerParallel.R#36)  ───────────
  invalid subscript type 'list'
  Backtrace:
   1. irace::irace(scenario = tuner.config, parameters = parameters) test-targetRunnerParallel.R:36:3
   2. irace:::race(...)
   3. irace:::race.wrapper(...)
   4. irace:::createExperimentList(...)
   6. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  ── 7. Error: targetRunnerData (@test-targetRunnerParallel.R#54)  ───────────────
  invalid subscript type 'list'
  Backtrace:
    1. testthat::expect_output(...) test-targetRunnerParallel.R:54:2
   10. irace::irace(...)
   11. irace:::race(...)
   12. irace:::race.wrapper(...)
   13. irace:::createExperimentList(...)
   15. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  ── 8. Error: target.evaluator (@test-targeteval.R#27)  ─────────────────────────
  invalid subscript type 'list'
  Backtrace:
   1. irace:::checkTargetFiles(scenario = scenario, parameters = parameters) test-targeteval.R:27:3
   2. irace:::createExperimentList(...)
   4. base::`[.data.frame`(configurations, , pnames, drop = FALSE)
  
  ══ DONE ════════════════════════════════════════════════════════════════════════
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 112 | SKIPPED: 9 | WARNINGS: 0 | FAILED: 8 ]
  1. Error: cap.irace maxExperiments = 1000 (@test-capping.R#162) 
  2. Error: cap.irace maxExperiments = 50000 (@test-capping.R#167) 
  3. Error: maxTime 500 (@test-maxTime.R#35) 
  4. Error: parallel reject (@test-sann-irace.R#97) 
  5. Error: similarConfigurations (@test-similar.R#28) 
  6. Error: targetRunnerParallel (@test-targetRunnerParallel.R#36) 
  7. Error: targetRunnerData (@test-targetRunnerParallel.R#54) 
  8. Error: target.evaluator (@test-targeteval.R#27) 
  
  Error: testthat unit tests failed
  Execution halted