constructive
constructive copied to clipboard
construct reprex from call ?
construct_reprex() will construct the local environment entirely, that might be too much.
We could have a call argument, and we'd do as we did in {historian} :
- Turn all the things into lazy bindings
- Run the call
- Check what is not lazy anymore
- construct it
So when I'm debugging, right before a call, rather than calling construct_reprex(), we'd call construct_reprex(call = foo(x, a$b, bar(bar)), call is ignored if n is not default.