Nothing
Erratum handles errors and warnings in a manner inspired by Go's standard error library.
install.packages("erratum")
library(erratum)
err <- e("Input must be a numeric")
err$rule <- is.numeric
safe_log <- function(x){
err$check(x)
log(x)
}
safe_log("two")
Please note that the erratum project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.