testthat
testthat copied to clipboard
Initial experiment with trace()
Not successful because you canβt use return() with trace() because it wraps the tracing statement with .doTrace which does eval.parent(substitute(expr)) instead of just expr. But maybe we could mock .doTrace?