Running ‘testthat.R’ [2s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("clustermq")
  Loading required package: clustermq
  * Option 'clustermq.scheduler' not set, defaulting to 'LOCAL'
  --- see: https://github.com/mschubert/clustermq/wiki#setting-up-the-scheduler
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  Address already in use
  [1] "tcp://localhost:55443"
  1. Error: sending common data (@test-worker.r#36) ------------------------------
  object 'p' not found
  1: start_worker() at testthat/test-worker.r:36
  2: recv(socket) at testthat/test-worker.r:12
  3: warning(parallel::mccollect(p)[[1]], immediate. = TRUE) at /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/clustermq.Rcheck/tests/testthat/helper-util.r:7
  4: parallel::mccollect(p)
  
  [1] "tcp://localhost:55443"
  2. Error: invalid common data (@test-worker.r#42) ------------------------------
  object 'p' not found
  1: start_worker() at testthat/test-worker.r:42
  2: recv(socket) at testthat/test-worker.r:12
  3: warning(parallel::mccollect(p)[[1]], immediate. = TRUE) at /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/clustermq.Rcheck/tests/testthat/helper-util.r:7
  4: parallel::mccollect(p)
  
  [1] "tcp://localhost:55443"
  3. Error: common data redirect (@test-worker.r#52) -----------------------------
  object 'p' not found
  1: start_worker() at testthat/test-worker.r:52
  2: recv(socket) at testthat/test-worker.r:12
  3: warning(parallel::mccollect(p)[[1]], immediate. = TRUE) at /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/clustermq.Rcheck/tests/testthat/helper-util.r:7
  4: parallel::mccollect(p)
  
  [1] "tcp://localhost:55443"
  4. Error: do work (@test-worker.r#63) ------------------------------------------
  object 'p' not found
  1: start_worker() at testthat/test-worker.r:63
  2: recv(socket) at testthat/test-worker.r:12
  3: warning(parallel::mccollect(p)[[1]], immediate. = TRUE) at /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/clustermq.Rcheck/tests/testthat/helper-util.r:7
  4: parallel::mccollect(p)
  
  [1] "tcp://localhost:55443"
  5. Error: token mismatch (@test-worker.r#76) -----------------------------------
  object 'p' not found
  1: start_worker() at testthat/test-worker.r:76
  2: recv(socket) at testthat/test-worker.r:12
  3: warning(parallel::mccollect(p)[[1]], immediate. = TRUE) at /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/clustermq.Rcheck/tests/testthat/helper-util.r:7
  4: parallel::mccollect(p)
  
  testthat results ================================================================
  OK: 41 SKIPPED: 0 FAILED: 5
  1. Error: sending common data (@test-worker.r#36) 
  2. Error: invalid common data (@test-worker.r#42) 
  3. Error: common data redirect (@test-worker.r#52) 
  4. Error: do work (@test-worker.r#63) 
  5. Error: token mismatch (@test-worker.r#76) 
  
  Error: testthat unit tests failed
  Execution halted