Working with the errorist package

JJB

2018-01-27

The errorist package is designed to provide support for newcomers to R who are learning how to write code. Philosophically, errorist takes the position of being as invisible as possible. To achieve the invisibility, on package load, handlers to receive error and warning message are automatically created and applied. These handlers propogate the messages raised by R into the searcher package, which automatically searches the contents on Google by default.

Thus, to use errorist in a causal manner, please type:

library(errorist)
#> Warnings and errors will automatically trigger a web search.

To remove the errorist handlers, please either call the disable_errorist() function or detach the package.

detach("package:errorist", unload = TRUE)
#> Warnings and errors are no longer automatically searched.