[Rd] Cran package checks

From: Terry Therneau <therneau_at_mayo.edu>
Date: Wed, 05 Sep 2012 11:08:05 -0500

Some questions motivated by this discussion.

 From the CRAN policy page:
"Checking the package should take as little CPU time as possible, as the CRAN check farm is a very limited resource and there are thousands of packages. Long-running tests and vignette code can be made optional for checking, but do ensure that the checks that are left do exercise all the features of the package."

  Is there a further document that elucidates more on this?

  	What is "little CPU time".
   	Is there a documented variable that I can check and then reduce the test set for CRAN? 
Duncan mentioned one in the dicussion, but I'll end up forgetting the details. A static reference would help.

        "Test all the features". The test directory for survival has 75 files and still doesn't test everything: I'm about to add a new one today in response to a bug report. How do I adjucate between "little time" and "test all"?

Footnote: the manual page for R CMD check (?check) has the line "Many of the checks in R CMD check can be turned off or on by environment variables: see Chapter 6 of the ‘R Internals’ manual". The reference should be chapter 7. That chapter does document the use of _R_CHECK_TIMINGS_=10. But it seems dangerous to use this as an indirect test, ie. "if timings is 10 then this must be CRAN running".

  My biggest time offender is in the vignettes. After multiple readings of the docs I still can't quite figure out how to specify

Terry T.

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 05 Sep 2012 - 16:13:23 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 06 Sep 2012 - 02:00:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive