Running ‘testthat.R’ [16s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(TreeMineR)
  > 
  > test_check("TreeMineR")
  Saving _problems/test-TreeMineR-25.R
  [ FAIL 1 | WARN 0 | SKIP 5 | PASS 19 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (5): 'test-TreeMineR.R:1:1', 'test-TreeMineR.R:28:1',
    'test-TreeMineR.R:42:1', 'test-TreeMineR.R:54:1', 'test-drop_cuts.R:23:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-TreeMineR.R:15:3'): Check parallel test run ────────────────────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11613 cannot be opened
  Backtrace:
       ▆
    1. ├─utils::head(...)
    2. ├─TreeMineR::TreeMineR(...)
    3. │ ├─base::do.call(future::plan, future_control)
    4. │ └─future (local) `<fn>`("multisession", workers = 2)
    5. │   └─future (local) plan_set(...)
    6. │     └─future:::plan_init(stack[[1]], debug = debug)
    7. │       └─future:::makeFutureBackend(evaluator, debug = debug)
    8. │         └─base::do.call(factory, args = args, envir = envir)
    9. └─future (local) `<fn>`(workers = 2)
   10.   └─future::ClusterFutureBackend(...)
   11.     └─clusterRegistry$startCluster(...)
   12.       └─future (local) makeCluster(workers, ...)
   13.         ├─base::do.call(makeClusterPSOCK, args = args, quote = TRUE)
   14.         └─parallelly (local) `<fn>`(base::quote(2L), rscript_libs = base::quote(`<chr>`))
   15.           └─base::serverSocket(port = port)
  
  [ FAIL 1 | WARN 0 | SKIP 5 | PASS 19 ]
  Error:
  ! Test failures.
  Execution halted