isTryError | R Documentation |
Does an Object Inherit from "try-error"?
isTryError(x)
x |
R object |
logical of length one, TRUE if x
inherits from "try-error",
otherwise FALSE
result <- try(stop("Stop!"), silent = TRUE)
isTryError(result) # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.