[Rd] CRAN packages mis-using \donttest : falsy

Gábor Csárdi csardi.gabor at gmail.com
Mon Dec 8 22:12:46 CET 2014


On Mon, Dec 8, 2014 at 3:43 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
[...]
> In this case, I don't see a way to include that code but avoid warnings.  So
> you could ask for forgiveness when you submit it to CRAN (and perhaps they
> would be forgiving), or you could use some other code in your example.

Just to clarify, the code does not give any errors, or even warnings,
it runs without errors, even if these packages are not installed. So
personally I think that this is a bug in R CMD check: it detects
errors in code that does not actually produce errors.

Gabor



More information about the R-devel mailing list