Skip to content
Prev 4045 / 12125 Next

[R-pkg-devel] try() in R CMD check --as-cran

On 07/06/2019 9:46 a.m., J C Nash wrote:
try(stop("msg"))  will print the error message, but won't stop 
execution.  Presumably the printed message is what is causing you 
problems.  If you want to suppress that, use

try(stop("msg"), silent = TRUE)

Duncan Murdoch