* using log directory 'd:/Rcompile/CRANpkg/local/2.11/SIS.Rcheck' * using R version 2.11.1 Patched (2010-07-29 r52657) * using session charset: ISO8859-1 * checking for file 'SIS/DESCRIPTION' ... OK * this is package 'SIS' version '0.6' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'SIS' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the name space can be loaded with stated dependencies ... OK * checking whether the name space can be unloaded cleanly ... OK * checking for unstated dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking data for non-ASCII characters ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking for portable use of $BLAS_LIBS ... OK * checking examples ... ERROR Running examples in 'SIS-Ex.R' failed. The error most likely occurred in: > ### * COXvanISISscad > > flush(stderr()); flush(stdout()) > > ### Name: COXvanISISscad > ### Title: (Iterative) Sure Independence Screening ((I)SIS) in the Cox > ### proportional hazards regression model > ### Aliases: COXvanISISscad COXvarISISscad > ### Keywords: file > > ### ** Examples > > set.seed(0) > n=150 > p=200 > truerho=0.5 > beta <- c(4,4,4,-6*sqrt(2),4/3, rep(0,p-5)) > > corrmat=diag(rep(1-truerho, p))+matrix(truerho, p, p) > corrmat[,4]=sqrt(truerho) > corrmat[4, ]=sqrt(truerho) > corrmat[4,4]=1 > corrmat[,5]=0 > corrmat[5,]=0 > corrmat[5,5]=1 > cholmat=chol(corrmat) > > x=matrix(rnorm(p*n, mean=0, sd=1), n, p) > x=x%*%cholmat > > myrates <- exp(x%*%beta) > > ytrue <- rexp(n, rate = myrates) > cen <- rexp(n, rate = 0.1 ) > time <- pmin(ytrue, cen) > status <- as.numeric(ytrue <= cen) > > cox.van.sis <- COXvanISISscad(x, time, status) > p) Error: unexpected ')' in "p)" Execution halted