Running ‘run-all.R’ [5s/14s]
Running the tests in ‘tests/run-all.R’ failed.
Complete output:
  > # FIXME: R CMD check does not run on true batch systems, but maybe it does not have to
  > # we can check there with 'make test' and run 'make check' locally
  > 
  > library(testthat)
  > test_check("parallelMap")
  Loading required package: parallelMap
  Failed with error:  'there is no package called 'BatchJobs''
  [ FAIL 2 | WARN 1 | SKIP 1 | PASS 58 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_01_registerLevels.R:24:3): warn on unregisterred level ──────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'BatchJobs'
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test_01_registerLevels.R:24:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─parallelMap::parallelStartBatchJobs(level = "foo")
    7. │ └─parallelMap::parallelStart(...)
    8. │   └─base::suppressMessages(...)
    9. │     └─base::withCallingHandlers(...)
   10. └─base::loadNamespace(x)
   11.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   12.     └─base withOneRestart(expr, restarts[[1L]])
   13.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test_batchjobs.R:8:3): BatchJobs mode ────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'BatchJobs'
  Backtrace:
      ▆
   1. ├─BatchJobs::getConfig()$cluster.functions$name %in% ... at test_batchjobs.R:8:2
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base withOneRestart(expr, restarts[[1L]])
   5.       └─base doWithOneRestart(return(expr), restart)
  
  [ FAIL 2 | WARN 1 | SKIP 1 | PASS 58 ]
  Error: Test failures
  Execution halted