Running ‘testthat.R’ [36s/123s]
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://mschubert.github.io/clustermq/articles/userguide.html#configuration
  Warning in .subset2(e, ".__enclos_env__")$private$finalize() :
    Unclean shutdown for PIDs: 2395051
  Warning in .subset2(e, ".__enclos_env__")$private$finalize() :
    Unclean shutdown for PIDs: 2395965
  [ FAIL 3 | WARN 0 | SKIP 12 | PASS 108 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • On CRAN (8): 'test-5-queue.r:87:5', 'test-6-queue_impl.r:48:5',
    'test-6-queue_impl.r:59:5', 'test-6-queue_impl.r:70:5',
    'test-7-ssh_proxy.r:34:5', 'test-7-ssh_proxy.r:55:5',
    'test-7-ssh_proxy.r:79:5', 'test-7-ssh_proxy.r:107:5'
  • https://github.com/r-lib/processx/issues/236 (3): 'test-4-pool.r:69:5',
    'test-4-pool.r:80:5', 'test-6-queue_impl.r:38:5'
  • this works interactively but evaluates the error on testthat (1):
    'test-2-worker.r:91:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-4-pool.r:15:5'): starting and stopping multicore ───────────────
  <Rcpp::exception/C++Error/error/condition>
  Error: Socket timed out after 513 ms
  
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(w$recv(500L), 7) at test-4-pool.r:15:5
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─w$recv(500L)
   5.   └─private$master$recv(timeout)
  ── Error ('test-4-pool.r:47:5'): calculations are really done on the worker ────
  <Rcpp::exception/C++Error/error/condition>
  Error: Socket timed out after 501 ms
  
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(w$recv(500L), 7) at test-4-pool.r:47:5
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─w$recv(500L)
   5.   └─private$master$recv(timeout)
  ── Failure ('test-5-queue.r:115:5'): max_calls_worker is respected ─────────────
  setequal(res, c(1, 3)) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 3 | WARN 0 | SKIP 12 | PASS 108 ]
  Error: Test failures
  Execution halted