* using log directory 'd:/Rcompile/CRANpkg/local/2.10/SortableHTMLTables.Rcheck' * using R version 2.10.1 (2009-12-14) * using session charset: ISO8859-1 * checking for file 'SortableHTMLTables/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'SortableHTMLTables' version '0.1-2' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'SortableHTMLTables' 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 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 examples ... OK * checking tests ... ERROR Running the tests in 'tests/2.R' failed. Last 13 lines of output: Loading required package: testthat Loading required package: brew > library('testthat') > > sortable.html.table(iris, 'iris.html', 'iris') > > text <- paste(readLines(file.path('iris', 'iris.html'), n = -1), collapse = '\n') > > expect_that(text, matches('setosa')) Error in recyclable(string, pattern, replacement) : could not find function "vapply" Calls: expect_that ... condition -> str_detect -> check_pattern -> recyclable Execution halted