powered by
Checks whether any of the provided objects contains a try error.
isTryError(...)
Returns TRUE if there's some object that's a try-error, FALSE when all objects are not try-errors.
TRUE
FALSE
objects that need testing.
x <- 1 y <- "a" z <- try(integrate(exp, -Inf, Inf)) isTryError(x, y) isTryError(x, y, z)
Run the code above in your browser using DataLab