powered by
An abbreviation of try(silent = TRUE).
try(silent = TRUE)
try_silent(expr)
An R expression.
library(xfun) z = try_silent(stop("Wrong!")) inherits(z, "try-error")
Run the code above in your browser using DataLab