An abbreviation of try(silent = TRUE).
try(silent = TRUE)
try_silent(expr)
expr
An R expression.
Run examples
library(xfun) z = try_silent(stop("Wrong!")) inherits(z, "try-error")