Running ‘run-all.R’ [18s/20s]
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
  Saving _problems/test_parallelLibrary-6.R
  Saving _problems/test_reproducibility-5.R
  Saving _problems/test_reproducibility-19.R
  [ FAIL 3 | WARN 3 | SKIP 4 | PASS 87 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test_mpi.R:7:3'
  • empty test (3): , ,
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_parallelLibrary.R:6:3'): exported packages honor the given parallelization level ──
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11898 cannot be opened
  Backtrace:
      ▆
   1. └─parallelMap::parallelStartSocket(1, level = "custom.test") at test_parallelLibrary.R:6:3
   2.   └─parallelMap::parallelStart(...)
   3.     └─parallel::makePSOCKcluster(names = names, ...)
   4.       └─base::serverSocket(port = port)
  ── Error ('test_reproducibility.R:5:3'): reproducibility with standard RNG kind works for 'socket' mode ──
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11898 cannot be opened
  Backtrace:
      ▆
   1. └─parallelMap::parallelStartSocket(cpus = 2) at test_reproducibility.R:5:3
   2.   └─parallelMap::parallelStart(...)
   3.     └─parallel::makePSOCKcluster(names = names, ...)
   4.       └─base::serverSocket(port = port)
  ── Error ('test_reproducibility.R:19:3'): socket: reproducibility can be turned off ──
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11898 cannot be opened
  Backtrace:
      ▆
   1. └─parallelMap::parallelStartSocket(cpus = 2, reproducible = FALSE) at test_reproducibility.R:19:3
   2.   └─parallelMap::parallelStart(...)
   3.     └─parallel::makePSOCKcluster(names = names, ...)
   4.       └─base::serverSocket(port = port)
  
  [ FAIL 3 | WARN 3 | SKIP 4 | PASS 87 ]
  Error:
  ! Test failures.
  Execution halted