The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

tracer

Slick Call Stacks

Project Status: Active - The project has reached a stable, usable state and is being actively developed. Linux Build Status Windows Build status CRAN RStudio mirror downloads Coverage Status

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.