* using log directory 'd:/Rcompile/CRANpkg/local/3.2/frailtyEM.Rcheck' * using R version 3.2.5 (2016-04-14) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'frailtyEM/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'frailtyEM' version '0.5.2' * package encoding: UTF-8 * 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 for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'frailtyEM' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over 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 * loading checks for arch 'i386' ** 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 loading without being on the library search path ... OK ** checking use of S3 registration ... OK * loading checks for arch 'x64' ** 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 loading without being on the library search path ... OK ** checking use of S3 registration ... OK * checking dependencies in R code ... NOTE Namespace in Imports field not imported from: 'Rcpp' All declared Imports should be used. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE em_fit: possible error in findInterval(Y[, 2], tev, left.open = FALSE, rightmost.closed = FALSE): unused argument (left.open = FALSE) emfrail: possible error in findInterval(time, etime, left.open = TRUE): unused argument (left.open = 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 line endings in C/C++/Fortran sources/headers ... OK * checking compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ** running examples for arch 'i386' ... ERROR Running examples in 'frailtyEM-Ex.R' failed The error most likely occurred in: > ### Name: emfrail > ### Title: Fitting shared frailty models with the EM algorithm > ### Aliases: emfrail > > ### ** Examples > > dat <- survival::rats > > > m1 <- emfrail(.data = dat, + .formula = Surv(time, status) ~ rx + sex + cluster(litter)) Error in findInterval(time, etime, left.open = TRUE) : unused argument (left.open = TRUE) Calls: emfrail -> findInterval Execution halted ** running examples for arch 'x64' ... ERROR Running examples in 'frailtyEM-Ex.R' failed The error most likely occurred in: > ### Name: emfrail > ### Title: Fitting shared frailty models with the EM algorithm > ### Aliases: emfrail > > ### ** Examples > > dat <- survival::rats > > > m1 <- emfrail(.data = dat, + .formula = Surv(time, status) ~ rx + sex + cluster(litter)) Error in findInterval(time, etime, left.open = TRUE) : unused argument (left.open = TRUE) Calls: emfrail -> findInterval Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking running R code from vignettes ... [2s] ERROR Errors in running code in vignettes: when running code in 'frailtyEM_manual.Rnw' ... Loading required package: survival > bladder2$rx <- as.factor(bladder2$rx) > m1 <- emfrail(.data = bladder2, .formula = Surv(start, + stop, event) ~ rx + number + size + cluster(id)) When sourcing 'frailtyEM_manual.R': Error: unused argument (left.open = TRUE) Execution halted * checking re-building of vignette outputs ... NOTE Error in re-building vignettes: ... Loading required package: survival Error: processing vignette 'frailtyEM_manual.Rnw' failed with diagnostics: chunk 3 (label = bladder2) Error in findInterval(time, etime, left.open = TRUE) : unused argument (left.open = TRUE) Execution halted * checking PDF version of manual ... OK * DONE Status: 3 ERRORs, 3 NOTEs