* using log directory 'd:/Rcompile/CRANpkg/local64/2.11/lubridate.Rcheck' * using R version 2.11.1 Patched (2010-07-29 r52657) * using session charset: ISO8859-1 * checking for file 'lubridate/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'lubridate' version '0.1' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'lubridate' 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 whether the package can be unloaded cleanly ... OK * checking whether the name space can be loaded with stated dependencies ... OK * checking whether the name space 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 decimal_date.zoo: no visible global function definition for 'index' reclass_date.chron: no visible global function definition for 'as.chron' reclass_date.its: no visible global function definition for 'its' reclass_date.its: no visible binding for global variable 'x' reclass_date.its: no visible binding for global variable 'dates' reclass_date.ti: no visible global function definition for 'as.ti' reclass_date.ti: no visible global function definition for 'tifName' reclass_date.timeDate: no visible global function definition for 'as.timeDate' tz.zoo: no visible global function definition for 'index' * 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 data for non-ASCII characters ... OK * checking examples ... OK * checking tests ... ERROR Running the tests in 'tests/test-all.R' failed. Last 13 lines of output: months > > test_dir(system.file("tests", package = "lubridate"), StopReporter) [1] 365 days beginning at 2008-08-03 13:01:59 Error: Test failure in 'addition works as expected for instants' Pattern must be a character vector 1: expect_that(x + years(1), matches(as.POSIXct("2009-01-01 \n 00:00:00", tz = "UTC"))) 2: condition(object) 3: str_detect(char, regexp) 4: check_pattern(pattern, string) 5: stop("Pattern must be a character vector", call. = FALSE) Execution halted