tracer v1.0.0

0

Monthly downloads

0th

Percentile

Slick Call Stacks

Better looking call stacks after an error.

Readme

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

Functions in tracer

Name Description
tb A better base::traceback()
No Results!

Last month downloads

Details

License MIT + file LICENSE
LazyData true
URL https://github.com/mangothecat/tracer#readme
BugReports https://github.com/mangothecat/tracer/issues
RoxygenNote 5.0.1.9000
Encoding UTF-8
NeedsCompilation no
Packaged 2017-01-27 21:25:56 UTC; gaborcsardi
Repository CRAN
Date/Publication 2017-01-28 17:31:38

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/tracer)](http://www.rdocumentation.org/packages/tracer)