Skip to content
Prev 4078 / 12125 Next

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

The advantage of "abort" (R_Suicide) over the default (R error) is that 
it cannot be caught accidentally, so that one can detect more errors, 
and it may be easier to find where the error happened. To make the 
default behavior less surprising/more user friendly, and to allow 
intentional catching of these errors, the default for R CMD check 
--as-cran was changed in R-devel so that the normal R error is thrown, 
and the documentation in R Internals updated accordingly. One thus has 
to set the variable explicitly to get the stricter checks.

Best
Tomas
On 6/7/19 8:51 PM, Tierney, Luke wrote: