Running ‘testthat.R’ [48s/70s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > suppressPackageStartupMessages(library(testthat))
  > suppressPackageStartupMessages(library(pulsar))
  > 
  > testthat::test_check("pulsar")
  Saving _problems/test_pulsar-50.R
  Saving _problems/test_pulsar-50.R
  [ FAIL 3 | WARN 8 | SKIP 0 | PASS 170 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_pulsar.R:48:1'): weird lambda path results in correct error or warning ──
  Error in `gzfile(file, mode)`: cannot open the connection
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...)
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─pulsar (local) pfun(...)
    7.   └─pulsar:::batchply(...)
    8.     └─batchtools::submitJobs(reg = reg, resources = job.res)
    9.       └─reg$cluster.functions$submitJob(reg = reg, jc = jc)
   10.         ├─batchtools::doJobCollection(jc, output = jc$log.file)
   11.         └─batchtools:::doJobCollection.JobCollection(jc, output = jc$log.file)
   12.           └─batchtools:::writeRDS(...)
   13.             └─base::saveRDS(object, file = file, version = 2L, compress = compress)
   14.               └─base::gzfile(file, mode)
  ── Error ('test_pulsar.R:48:1'): weird lambda path results in correct error or warning ──
  Error in `gzfile(file, mode)`: cannot open the connection
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...)
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─pulsar (local) pfun(...)
    7.   └─pulsar:::batchply(...)
    8.     └─batchtools::submitJobs(reg = reg, resources = job.res)
    9.       └─batchtools::saveRegistry(reg)
   10.         └─batchtools:::writeRDS(ee, file = fn[1L], compress = reg$compress)
   11.           └─base::saveRDS(object, file = file, version = 2L, compress = compress)
   12.             └─base::gzfile(file, mode)
  ── Error ('test_pulsar.R:48:1'): (code run outside of `test_that()`) ───────────
  <ENOSPC/fs_error/error/condition>
  Error: [ENOSPC] Failed to make directory '/tmp/Rtmp20dPVR/registry3788896d95b55f/updates': no space left on device
  Backtrace:
      ▆
   1. └─global runtests(...) at test_pulsar.R:48:1
   2.   └─pulsar (local) pfun(...)
   3.     └─pulsar:::batchply(...)
   4.       └─batchtools::makeRegistry(...)
   5.         └─fs::dir_create(...)
  
  [ FAIL 3 | WARN 8 | SKIP 0 | PASS 170 ]
  Error:
  ! Test failures.
  Execution halted