Running ‘testthat.R’ [4s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("piecemeal")
  Loading required package: piecemeal
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 8 runs. (0 already done.)
    Status Runs
  1     OK    8
  Finding individual runs
  Finding consolidated runs
  Finding unconsolidated runs
  Consolidation complete: 8 files consolidated.
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding unconsolidated runs
  Consolidation complete: 2 files consolidated.
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 5 runs. (0 already done.)
    Status Runs
  1     OK    5
  Finding unconsolidated runs
  Consolidation complete: 5 files consolidated.
  Finding unconsolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 10 runs. (0 already done.)
    Status Runs
  1     OK   10
  Finding unconsolidated runs
  Consolidation complete: 10 files consolidated.
  Finding individual runs
  Finding consolidated runs
  Finding unconsolidated runs
  Consolidation complete: 3 files consolidated.
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 6 runs. (0 already done.)
    Status Runs
  1     OK    6
  Finding individual runs
  Finding consolidated runs
  Finding unconsolidated runs
  Consolidation complete: 6 files consolidated.
  Finding individual runs
  Finding consolidated runs
  Finding running workers
  Finding individual runs
  Finding consolidated runs
  Scanning consolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding running workers
  Scanning individual runs
  Finding unconsolidated runs
  Consolidation complete: 10 files consolidated.
  Finding individual runs
  Finding consolidated runs
  Finding running workers
  Scanning individual runs
  Scanning consolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 5 runs. (0 already done.)
    Status Runs
  1     OK    5
  Finding individual runs
  Finding consolidated runs
  Finding running workers
  Scanning individual runs
  Finding unconsolidated runs
  Consolidation complete: 5 files consolidated.
  Finding individual runs
  Finding consolidated runs
  Finding running workers
  Scanning consolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 6 runs. (0 already done.)
    Status Runs
  1     OK    6
  Finding individual runs
  Finding consolidated runs
  Finding unconsolidated runs
  Consolidation complete: 6 files consolidated.
  Finding individual runs
  Finding consolidated runs
  Starting 0 runs. (6 already done.)
     Status Runs
  1 SKIPPED    6
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 12 runs. (0 already done.)
    Status Runs
  1     OK   12
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 12 runs. (0 already done.)
    Status Runs
  1     OK   12
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 12 runs. (0 already done.)
    Status Runs
  1     OK   12
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 12 runs. (0 already done.)
    Status Runs
  1     OK   12
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 2 runs. (0 already done.)
    Status Runs
  1     OK    2
  Finding individual runs
  Finding consolidated runs
  Starting 24 runs. (0 already done.)
                                               Status Runs
  1 Error in (function (x, y)  : object 'a' not found   24
  Deleting...
  24 failed runs deleted.
  Starting 24 runs. (0 already done.)
                                                        Status Runs
  1                                        Error : condition 0    4
  2                                        Error : condition 4    4
  3 Error in dbl(p = p, u = u) : could not find function "dbl"   16
  Deleting...
  24 failed runs deleted.
  Starting 24 runs. (0 already done.)
                 Status Runs
  1 Error : condition 0    4
  2 Error : condition 4    4
  3                  OK   16
  Saving _problems/test-vignette-47.R
  8/24 runs had returned an error.
  Starting 16 runs. (24 already done.)
     Status Runs
  1      OK   16
  2 SKIPPED   24
  Finding individual runs
  Finding consolidated runs
  Finding individual runs
  Finding consolidated runs
  Starting 4 runs. (0 already done.)
    Status Runs
  1     OK    4
  Finding individual runs
  Finding consolidated runs
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 182 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-vignette.R:47:3'): Some runs succeed, some error due to function bug ──
  Expected `grep("OK", res)` to have length 16.
  Actual length: 24.
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 182 ]
  Error:
  ! Test failures.
  Warning message:
  call dbDisconnect() when finished working with a connection 
  Execution halted