search for: _r_check_full_

Displaying 2 results from an estimated 2 matches for "_r_check_full_".

2013 Jul 01
1
tests conditioned on CRAN?
Hello: What is the recommended procedure for skipping long tests in "R CMD check --as-cran"? Some time ago, after a discussion on this list, I added the following function to the fda package: CRAN <- function (x = "_R_CHECK_TIMINGS_") { x. <- Sys.getenv(x) nchar(as.character(x.)) > 0 } However, it does not seem to be working
2012 Apr 08
0
Proposal: Mechanism for controlling the amount of testing 'R CMD check' performs
...ul, especially because the recent CRAN Policies needs to limit the computational load on CRAN servers, introducing an unfortunately conflict between writing writing thorough system tests and having light-weight tests for CRAN. My solution to this has been to introduce use a system environment '_R_CHECK_FULL_', which I set to TRUE (or leave blank), and have my tests/*.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,...