Error tracking for R
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
LICENSE
NAMESPACE
NEWS.md
README.md
cran-comments.md
rollbar.Rproj

README.md

Rollbar

Error tracking for R

Rollbar website

Build Status

Installation

install.packages("rollbar")

or if you use Jetpack, run:

jetpack::add("rollbar")

Usage

library(rollbar)

rollbar.configure(access_token="secret", env="production")

Use your post_server_item access token

Alternatively, you can set ROLLBAR_ACCESS_TOKEN and R_ENV in your environment

Report uncaught errors automatically

rollbar.attach()

Report errors manually

rollbar.error(message)

Additional methods include

rollbar.info
rollbar.debug
rollbar.warning
rollbar.critical

Or use the generic method

rollbar.log(level, message)

Pass extra details

rollbar.info("Job successful", list(job_id=123, awesome="yes"))

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help: