* using log directory 'd:/Rcompile/CRANpkg/local/2.14/crrstep.Rcheck' * using R version 2.14.2 (2012-02-29) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'crrstep/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'crrstep' version '2013-02.12' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking whether package 'crrstep' can be installed ... OK * checking installed package size ... 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 namespace can be loaded with stated dependencies ... OK * checking whether the namespace 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 ... NOTE crrstep : crr.dropterm: possible error in crr(ftime, fstatus, cov1.2, variance = FALSE, ...): unused argument(s) (variance = FALSE) crrstep : crr.dropterm: possible error in crr(ftime, fstatus, cov1.3, variance = FALSE, ...): unused argument(s) (variance = FALSE) crrstep : crr.dropterm: possible error in crr(ftime, fstatus, cov1, variance = FALSE, ...): unused argument(s) (variance = FALSE) crrstep : crr.addterm: possible error in crr(ftime, fstatus, cov1, variance = FALSE, ...): unused argument(s) (variance = FALSE) crrstep : crr.addterm: possible error in crr(ftime, fstatus, cov1.3, variance = FALSE, ...): unused argument(s) (variance = FALSE) crrstep : crr.addterm: possible error in crr(ftime, fstatus, cov11, variance = FALSE, ...): unused argument(s) (variance = FALSE) crrstep: possible error in crr(ftime, fstatus, cov1, variance = TRUE, ...): unused argument(s) (variance = TRUE) * 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 for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in 'crrstep-Ex.R' failed The error most likely occurred in: > ### Name: crrstep-package > ### Title: Stepwise regression procedure for the Fine & Gray regression > ### model in competing risks > ### Aliases: crrstep-package > > ### ** Examples > > set.seed(123) > n <- 500 > ftime <- rexp(n) > fstatus <- sample(0:2,n,replace=TRUE) > cov1 <- matrix(runif(5*n),nrow=n) > x61 <- as.factor(sample(3, size=n, rep=TRUE)) > x71 <- as.factor(sample(5, size=n, rep = TRUE)) > cov1 <- cbind(cov1, x61, x71) > dimnames(cov1)[[2]] <- c('x1','x2','x3','x4','x5', 'x6', 'x7') > formula1 <- ftime ~ 1 + x1 + x2 + x3 + x4 + x5 + as.factor(x6) + as.factor(x7) > > crrstep(formula1, , fstatus, data = as.data.frame(cov1), direction = "backward", criterion = "BIC") crrstep(formula = formula1, etype = fstatus, data = as.data.frame(cov1), direction = "backward", criterion = "BIC") Error in crr(ftime, fstatus, cov1, variance = TRUE, ...) : unused argument(s) (variance = TRUE) Calls: crrstep -> crr Execution halted