powered by
dont_stop(expr)
expr
warning
stop
try
conditions
dont_stop({ warning("a warning") x <- 1 stop("an error") y <- sqrt(exp(x + 1)) assert_is_identical_to_true(y) y > 0 })
Run the code above in your browser using DataLab