[R-pkg-devel] How to reduce examples in a package that takes more than 5 seconds to run?
Brian G. Peterson
br|@n @end|ng |rom br@verock@com
Thu Dec 15 15:57:06 CET 2022
On 12/15/22 08:34, Ismail Otoakhia wrote:
> The R package 'ardl.nardl' has some examples that take more than 5 seconds
> to run. I was advised by the CRAN team to reduce the run time to less than
> 5 seconds.
>
> How can this be achieved?
- you can lower the amount of data in the example
- you can use a faster method than your default method
- you can wrap the example in a dontrun tag so it will not run during
checking
More information about the R-package-devel
mailing list