* using log directory 'd:/Rcompile/CRANpkg/local/3.3/pxR.Rcheck' * using R version 3.3.2 (2016-10-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'pxR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'pxR' version '0.40.0' * 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 'pxR' can be installed ... OK * checking installed package size ... OK * checking package 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 * 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 ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE as.px.array: no visible global function definition for 'ftable' read.px : get.attributes: no visible global function definition for 'ldply' read.px: no visible global function definition for 'str_locate_all' read.px: no visible global function definition for 'str_sub' read.px: no visible global function definition for 'str_length' read.px: no visible global function definition for 'read.table' summary.px: no visible global function definition for 'str' Undefined global functions or variables: ftable ldply read.table str str_length str_locate_all str_sub Consider adding importFrom("stats", "ftable") importFrom("utils", "read.table", "str") to your NAMESPACE file. * 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 ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running the tests in 'tests/test.R' failed. Last 13 lines of output: [1] FALSE TRUE TRUE TRUE Warning message: In file.remove("tmp04.px", "tmp03.px", "tmp02.px", "tmp01.px") : cannot remove file 'tmp04.px', reason 'No such file or directory' > > > > opx1 <- read.px( system.file( "extdata", "example.px", package = "pxR") ) > write.px ( opx1, filename = 'opx.px') # write a copy > opx2 <- read.px ('opx.px') # read the copy Error in read.px("opx.px") : The input file is malformed: data and varnames length differ Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE