isTryError | R Documentation |
Checks whether any of the provided objects contains 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.