* using log directory 'd:/Rcompile/CRANpkg/local/3.1/covr.Rcheck' * using R version 3.1.3 (2015-03-09) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'covr/DESCRIPTION' ... OK * this is package 'covr' version '2.0.1' * 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 'covr' 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 * 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 dependencies in R code ... NOTE There are ::: calls to the package's namespace in its code. A package almost never needs to use ::: for its own objects: 'count' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE merge_coverage: no visible global function definition for 'lengths' * 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ** running examples for arch 'i386' ... [1s] OK ** running examples for arch 'x64' ... [1s] OK * checking for unstated dependencies in tests ... OK * checking tests ... ** running tests for arch 'i386' ... ERROR Running the tests in 'tests/testthat.R' failed. Last 13 lines of output: Warning in readLines(old_path) : incomplete final line found on '~/.R/Makevars' Error in stopifnot(all(lengths(others) == length(x))) : could not find function "lengths" Calls: test_check ... eval -> package_coverage -> merge_coverage -> stopifnot testthat results ================================================================ OK: 12 SKIPPED: 2 FAILED: 3 1. Error: R6 methods coverage is reported (@test-R6.R#4) 2. Error: RC methods coverage is reported (@test-RC.R#3) 3. Error: S4 methods coverage is reported (@test-S4.R#3) Error: testthat unit tests failed Execution halted ** running tests for arch 'x64' ... ERROR Running the tests in 'tests/testthat.R' failed. Last 13 lines of output: Warning in readLines(old_path) : incomplete final line found on '~/.R/Makevars' Error in stopifnot(all(lengths(others) == length(x))) : could not find function "lengths" Calls: test_check ... eval -> package_coverage -> merge_coverage -> stopifnot testthat results ================================================================ OK: 12 SKIPPED: 2 FAILED: 3 1. Error: R6 methods coverage is reported (@test-R6.R#4) 2. Error: RC methods coverage is reported (@test-RC.R#3) 3. Error: S4 methods coverage is reported (@test-S4.R#3) Error: testthat unit tests failed Execution halted