Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [17s/382s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(TSEAL)
  > 
  > test_check("TSEAL")
  Saving _problems/test-Discriminant-133.R
  Saving _problems/test-Discriminant-152.R
  Saving _problems/test-Discriminant-218.R
  Saving _problems/test-Discriminant-239.R
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 58 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-Discriminant.R:133:5'): LOOCV ──────────────────────────────────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11416 cannot be opened
  Backtrace:
      ▆
   1. └─TSEAL::StepDiscrim(MWA, MedicalClasification, 1) at test-Discriminant.R:133:5
   2.   └─TSEAL:::StepDiscrim_(t(Tr), labels, maxvars, nCores)
   3.     └─parallel::makeCluster(nCores)
   4.       └─parallel::makePSOCKcluster(names = spec, ...)
   5.         └─base::serverSocket(port = port)
  ── Error ('test-Discriminant.R:152:5'): LOOCV Input ────────────────────────────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11416 cannot be opened
  Backtrace:
      ▆
   1. └─TSEAL::MultiWaveAnalysis(testExperiments, f = "haar") at test-Discriminant.R:152:5
   2.   └─parallel::makeCluster(nCores)
   3.     └─parallel::makePSOCKcluster(names = spec, ...)
   4.       └─base::serverSocket(port = port)
  ── Error ('test-Discriminant.R:218:5'): KFCV ───────────────────────────────────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11416 cannot be opened
  Backtrace:
      ▆
   1. └─TSEAL::MultiWaveAnalysis(testExperiments, f = "haar") at test-Discriminant.R:218:5
   2.   └─parallel::makeCluster(nCores)
   3.     └─parallel::makePSOCKcluster(names = spec, ...)
   4.       └─base::serverSocket(port = port)
  ── Error ('test-Discriminant.R:239:5'): KFCV Input ─────────────────────────────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11416 cannot be opened
  Backtrace:
      ▆
   1. └─TSEAL::MultiWaveAnalysis(testExperiments, f = "haar") at test-Discriminant.R:239:5
   2.   └─parallel::makeCluster(nCores)
   3.     └─parallel::makePSOCKcluster(names = spec, ...)
   4.       └─base::serverSocket(port = port)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 58 ]
  Error:
  ! Test failures.
  Execution halted