ew | R Documentation |
Handle errors and warnings.
e(obj)
w(obj)
obj |
A character string or an object of
class |
err <- e("Something went wrong")
foo <- function(x){
if(is.character(x))
return(err)
log(x)
}
foo("a")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.