-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
setup_reprex(fun, n = 1, nse = NULL)
- fun : a function
- n : number of reprexes to produce
- nse: vector of args not to construct,
This basically traces the function for n calls, it opens a new untitled script every time, and constructs arguments and the call.
This is not the most general way to approach things because NSE and environments are complex, but this should really be ok for 99% use cases I think.
Call without a fun or n arg from inside the function itself to create a reprex while debugging, using locally modified values if relevant
Metadata
Metadata
Assignees
Labels
No labels