tests/testthat/_snaps/errors.md

output from error

Code
  cat(out$stderr)
Output
  Error in `processx::run(processx:::get_tool("px"), c("errln", paste(1:20, ...` at script.R:2:5:
  ! System command 'px' failed
  ---
  Exit status: 100
  Stderr:
  1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  ---
  Backtrace:
  1. base::source("script.R")
  2. | base::withVisible(eval(ei, envir))
  3. | base::eval(ei, envir)
  4. | base::eval(ei, envir)
  5. processx::run(processx:::get_tool("px"), c("errln", paste(1:20, at script.R:2:5
  6. processx:::throw(new_process_error(res, call = sys.call(), echo = echo,
  Execution halted


Try the processx package in your browser

Any scripts or data that you put into this service are public.

processx documentation built on July 9, 2023, 5:34 p.m.