tracer
Slick Call Stacks
Better looking call stacks after an error.
Installation
source("https://install-github.me/mangothecat/tracer")Usage
library(tracer)After an error, call tb() instead of traceback(), to get a nice
error stack summary:
To browse the code at the locations of the calls, supply the number of
the call to tb():
Note that tracer can often show the (deparsed) source code of the
call location, even if the original R source code is no more available,
like in the case of installed packages.
Caveat
tracer sets the error handler via options(error = ...). If the user
changes the error handler manually, then tracer will not work.
License
MIT © Mango Solutions

