Re: [Rd] if(--as-cran)?

2012-09-06 Thread Warnes, Gregory
On 9/6/12 7:41 AM, "Duncan Murdoch" wrote: > >If Martin or I added a new environment variable _R_CHECK_LEVEL_, and >perhaps support code to let you set it in R CMD check or elsewhere, and >support functions to let you read it without the work of calling >Sys.getenv(), and documentation for its p

Re: [Rd] if(--as-cran)?

2012-09-06 Thread Hadley Wickham
> It was pointed out to me by a member of CRAN that detecting --as-cran is > insufficient. CRAN only runs incoming tests with settings equivalent to > that. The daily tests use different options. I don't know what those are, > and CRAN is unwilling to discuss their internal policies on this list

Re: [Rd] if(--as-cran)?

2012-09-06 Thread Duncan Murdoch
On 12-09-05 9:51 PM, Kasper Daniel Hansen wrote: Duncan, you are right that from the perspective of a single developer: it is entirely possible to make tests conditional and ensure that 'long' tests does not get run by CRAN. What I, and several others, advocate is a uniform set of conventions,