search for: checkloadok

Displaying 1 result from an estimated 1 matches for "checkloadok".

Did you mean: checkload
2012 Apr 08
0
Proposal: Mechanism for controlling the amount of testing 'R CMD check' performs
...ts/*.R scripts test for this in order to either skip the test completely or do for instance down sample the data tested, e.g. if (Sys.getenv("_R_CHECK_FULL_") != "TRUE") { ... } Instead of such home-cooked solutions, I call for a more standardized mechanism, e.g. if (tools::checkLoadOK("CRAN")) { ... } and R CMD check --allowed-load=CRAN ... where predefined levels could be NONE < MINOR < CRAN < DEFAULT < MAJOR < FULL, or similar. This would also be useful in the iterative process of developing/testing new features of one's package. Comments?...