README.md

argh

The goal of {argh} is to (try) to provide advice on obscure R error messages.

Disclaimer and notes

Installation

You can install the dev version of {argh} with:

remotes::install_github("ColinFay/argh")

Launch {argh}

library(argh)
init_argh()

Wait for an error to occur:

> iri
Error: object 'iri' not found
argh...
The object you are looking for might not exist. 
> library(dpylr)
Error in library(dpylr) : there is no package called ‘dpylr’
argh...
You might have forgotten to install a package or have mispelled the package name 
> "a" + "b"
Error in "a" + "b" : non-numeric argument to binary operator
argh...
You might have tried to use a character vector where a numeric is needed. 
> mean$Sepal.Length
Error in mean$Sepal.Length : object of type 'closure' is not subsettable
argh...
You might have called `$` on a function.
...

Stop {argh}

stop_argh()

Contribute

You can contribute by:

CoC

Please note that the ‘argh’ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



ColinFay/argh documentation built on May 28, 2019, 6 p.m.