Running ‘testthat.R’ [71s/185s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(callr)
  > 
  > Sys.unsetenv("R_TESTS")
  > 
  > if (ps::ps_is_supported()) {
  +   reporter <- ps::CleanupReporter(testthat::SummaryReporter)$new()
  +   results <- test_check("callr", reporter = reporter)
  +   failed <- sum(vapply(results, FUN.VALUE = integer(1), function(r) {
  +     sum(vapply(
  +       r$results,
  +       FUN.VALUE = logical(1),
  +       inherits, "expectation_error"))
  +   }))
  +   if (failed) stop("Test failures", call. = FALSE)
  + 
  + } else {
  +   ## ps does not support this platform
  +   test_check("callr", reporter = "summary")
  + }
  various bug fixes: .
  callbacks: ....
  clean-subprocess: ......
  errors: .....................S.1234.5678................
  r: ......................
  library path setup: ..........................
  messages: .9a
  
  ══ Skipped ═════════════════════════════════════════════════════════════════════
  1. error traces are merged (@test-error.R#115) - Reason: On CRAN
  
  ══ Failed ══════════════════════════════════════════════════════════════════════
  ── 1. Failure: errors in r_bg() are merged (@test-error.R#161)  ────────────────
  err$parent is not an S3 object
  
  ── 2. Failure: errors in r_bg() are merged (@test-error.R#161)  ────────────────
  err$parent inherits from `NULL` not `simpleError`.
  
  ── 3. Failure: errors in r_bg() are merged (@test-error.R#162)  ────────────────
  conditionMessage\(err\) does not match "callr subprocess failed: non-numeric argument".
  Actual value: "Still alive"
  
  ── 4. Error: errors in r_bg() are merged (@test-error.R#165)  ──────────────────
  no applicable method for 'conditionMessage' applied to an object of class "NULL"
  1: expect_match(conditionMessage(err$parent), "non-numeric argument") at testthat/test-error.R:165
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: conditionMessage(err$parent)
  
  ── 5. Failure: errors in r_process are merged (@test-error.R#183)  ─────────────
  err$parent is not an S3 object
  
  ── 6. Failure: errors in r_process are merged (@test-error.R#183)  ─────────────
  err$parent inherits from `NULL` not `simpleError`.
  
  ── 7. Failure: errors in r_process are merged (@test-error.R#184)  ─────────────
  conditionMessage\(err\) does not match "callr subprocess failed: non-numeric argument".
  Actual value: "Still alive"
  
  ── 8. Error: errors in r_process are merged (@test-error.R#187)  ───────────────
  no applicable method for 'conditionMessage' applied to an object of class "NULL"
  1: expect_match(conditionMessage(err$parent), "non-numeric argument") at testthat/test-error.R:187
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: conditionMessage(err$parent)
  
  ── 9. Failure: messages in callr::r_bg do not crash session (@test-messages.R#16
  rx$get_exit_status() not equal to 0.
  1/1 mismatches
  [1] -9 - 0 == -9
  
  ── 10. Error: messages in callr::r_bg do not crash session (@test-messages.R#18)
  callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed
  1: expect_equal(rx$get_result(), 2) at testthat/test-messages.R:18
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: rx$get_result()
  5: rp_get_result(self, private)
  6: get_result(out, private$options)
  7: throw(new_callr_error(output, killmsg))
  
  Maximum number of 10 failures reached, some test results may be missing.
  
  ══ DONE ════════════════════════════════════════════════════════════════════════
  Error: Test failures
  Execution halted