tests/testthat/try.R

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

try(g())

Try the evaluate package in your browser

Any scripts or data that you put into this service are public.

evaluate documentation built on Nov. 2, 2023, 5:18 p.m.