[R-pkg-devel] Question about examples/tests run-time
Mallory Flynn
m@||ory@||ynn @end|ng |rom @t@t@ubc@c@
Wed Oct 9 22:26:24 CEST 2024
Hello,
I am hoping this is the correct way to pose a question about my submission, which I can’t seem to fix 2 NOTES for. They are related to run time:
Flavor: r-devel-windows-x86_64
Check: examples, Result: NOTE
Examples with CPU (user + system) or elapsed time > 10s
user system elapsed
countTree 17.66 0.13 17.78
estTree 17.52 0.02 17.54
wmmTree 15.70 0.02 15.72
Flavor: r-devel-linux-x86_64-debian-gcc
Check: examples, Result: NOTE
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
countTree 14.218 0.077 14.401
wmmTree 14.049 0.028 14.086
estTree 14.046 0.012 14.066
The package enables easy implementation of a sampling method for population size estimation on a highly correlated tree - since it’s sequentially sampled, it’s expected to run long compared to other functionality, even on smaller examples.
I have added many layers to try to shorten examples and tests, including “donttest”, “dontrun”, “if (interactive())”, and reducing toy examples to what I believe is the smallest they can be to still demonstrate utility. I also included the “skip_on_cran()” function in tests which run longer.
Does anyone else have any ideas on how I can eliminate these notes?
Any help is very much appreciated!!
Thank you!
More information about the R-package-devel
mailing list