Running 'testthat.R' [124s]
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()
  + } else {
  +   ## ps does not support this platform
  +   reporter <- "summary"
  + }
  > 
  > test_check("callr", reporter = reporter)
  various bug fixes: .....
  callbacks: ................
  errors: .............................
  r: ......................................................................
  library path setup: ..............................................................
  messages: .....12....
  options: ......
  presets: .....................
  calling quit(): ..W......W....
  r_bg: .....................................
  r_process: .....
  r_session messages: ...................
  r_session: .............................................S.....................................S............
  rcmd_bg: .................
  rcmd_process: ......
  rcmd: ............................W......................
  rscript: .....................
  timeout: ......
  utils: .......................
  
  == Skipped =====================================================================
  1. stdout/stderr from pipe (@test-r-session.R#72) - On CRAN
  
  2. crash (@test-r-session.R#204) - On CRAN
  
  == Warnings ====================================================================
  1. quit() in the function (@test-quit.R#8) - `r(function() quit(status = 2))` generated a condition with class callr_status_error/callr_error/error/condition.
  It is less fragile to test custom conditions with `class`
  
  2. quit() in bg process (@test-quit.R#24) - `p2$get_result()` generated a condition with class callr_status_error/callr_error/error/condition.
  It is less fragile to test custom conditions with `class`
  
  3. fail_on_status (@test-rcmd.R#44) - `withr::with_dir(tempdir(), rcmd("BATCH", rand, fail_on_status = TRUE))` generated a condition with class system_command_status_error/system_command_error/error/condition.
  It is less fragile to test custom conditions with `class`
  
  == Failed ======================================================================
  -- 1. Failure: messages in callr::r_bg do not crash session (@test-messages.R#14
  rx$get_exit_status() not equal to 0.
  1/1 mismatches
  [1] 2 - 0 == 2
  
  -- 2. Error: messages in callr::r_bg do not crash session (@test-messages.R#16) 
  callr 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:16
  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)
  
  == DONE ========================================================================
  Error: Test failures
  Execution halted