tests/testthat/_snaps/eval.md

errors are printed on stderr

Code
  r(f, stdout = out <- tempfile(), stderr = err <- tempfile())
Condition
  Error:
  ! ! in callr subprocess.
  Caused by error in `(function () ...`:
  ! send to stderr 2


Try the callr package in your browser

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

callr documentation built on June 5, 2026, 5:06 p.m.