[R-pkg-devel] Cannot submit package due to false-positive rejection

Jamie Lentin |ent|nj @end|ng |rom @hutt|ethre@d@com
Sat Oct 29 14:14:20 CEST 2022


On 2022-10-28 20:48, Ying Li via R-package-devel wrote:
>> Flavor: r-devel-windows-x86_64
>> Check: examples, Result: NOTE
>>  Examples with CPU (user + system) or elapsed time > 10s
>>       user system elapsed
>>  RDM 40.05   0.89   40.94
> 
> Explain:  This is because a large dataset is used in the example. An
> example with large dataset is necessary, as this package is meant for
> analyzing large datasets.

Wrapping with \donttest{} may help here. Despite the name, CMD check 
--as-cran *will* run these tests, but will not be subject to the same 
time restrictions.

On submission of your package, the examples will be run with and without 
\donttest{}. However, the periodic (daily?) checks that get run skip the 
\donttest{} checks, to keep the CPU time these require manageable, and 
this is what the NOTE is about.

Cheers,



More information about the R-package-devel mailing list