[Rd] tests conditioned on CRAN?

2013-06-30 Thread Spencer Graves
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.ch

Re: [Rd] Save R Objects in C Code

2013-06-30 Thread Simon Urbanek
On Jun 29, 2013, at 11:14 AM, Ziqiang Zhao wrote: > Thanks for your help. > Since I don't know how to reference the current environment, I create a new > one to do so. > It seems that it works. > Not sure if it is helpful to anyone else out there, but here is my solution: There are tons of issues