tests/testthat/try.R

g <- function() f("error")
f <- function(x) stop(paste0("Obscure ", x))

try(g())
hadley/evaluate documentation built on May 19, 2024, 12:59 a.m.