isTryError | R Documentation |
Checks whether some object is a try error.
isTryError(...)
... |
objects that need testing |
Returns TRUE if there's some object that's a try-error, FALSE when all objects are not try-errors
x <- 1
y <- "a"
z <- try(integrate(exp, -Inf, Inf))
isTryError(x, y)
isTryError(x, y, z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.