tests/testthat/_snaps/4.5_and_older/trace.md

collapsing of eval() frames detects when error occurs within eval()

Code
  # Full
  print(trace, simplify = "none", dir = dir, srcrefs = srcrefs)
Output
      x
   1. +-base::eval()
   2. \-rlang (local) `<fn>`(`<gtvrErrr>`)
Code
  # Focused
  print_focused_trace(trace, dir = dir, srcrefs = srcrefs)
Output
      x
   1. +-base::eval()
   2. \-rlang (local) `<fn>`(`<gtvrErrr>`)
Code
  # Branch
  print(trace, simplify = "branch", dir = dir, srcrefs = srcrefs)
Output
   1. base::eval()
   2. rlang (local) `<fn>`(`<gtvrErrr>`)


Try the rlang package in your browser

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

rlang documentation built on April 12, 2025, 1:13 a.m.