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,

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to