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 with R 3.0.1. I know this, because the time to compute the examples in findFn.Rd in the sos package did not drop after I wrapped all the examples in the following:


if(!CRAN()){

...

}


      Thanks,
      Spencer

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

Reply via email to