Displaying 2 results from an estimated 2 matches for "_r_check_cran_incoming_".
2012 Sep 03
4
if(--as-cran)?
Hello, All:
The fda package has tests that run too long for CRAN's current
rules. I'd like to wrap some examples in a construct like the following:
if(!CRAN()){
...
}
I tried the following:
CRAN <- function(x='_R_CHECK_CRAN_INCOMING_'){
x. <- Sys.getenv(x)
xl <- as.logical(x.)
notCRAN <- is.na(xl) || xl
#
return(!notCRAN)
}
The companion help page included the following example:
if(CRAN()){
stop('CRAN')
} else {
stop('NOT CRAN')
}
This reported "NOT...
2016 Apr 12
0
Dispatch issue in package check?
...g>':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building '<pkg>_0.0.0.9001.tar.gz'
Setting env vars ---------------------------------------------------------------
_R_CHECK_CRAN_INCOMING_ : FALSE
_R_CHECK_FORCE_SUGGESTS_: FALSE
Checking <other arguments>) ---------------------------------------------------------------
"C:/PROGRA~1/R/R-32~1.4/bin/i386/R" --no-site-file --no-environ --no-save \
--no-restore --quiet CMD check \
"C:\Users\szumiloj\AppData...