Debian Codegraph @

tests/testthat/_snaps/profvis.md

raw
1 # expr and prof_input are mutually exclusive
2
3 Code
4 profvis(expr = f(), prof_input = "foo.R")
5 Condition
6 Error in `profvis()`:
7 ! Exactly one of `expr` or `prof_input` must be supplied.
8
9 # can capture profile of code with error
10
11 Code
12 out <- profvis(f(), rerun = "pause")
13 Message
14 profvis: code exited with error:
15 error
16
17