* using log directory 'd:/Rcompile/CRANpkg/local/2.10/lubridate.Rcheck' * using R version 2.10.1 (2009-12-14) * 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 name space 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 ... 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 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: [1] "duration converted to seconds" [1] "duration converted to seconds" [1] "duration converted to seconds" [1] "duration converted to seconds" [1] 5 minutes and 90 seconds Error: Test error: floor_date works for a variety of formats Test failure: floor_date works for a variety of formats floor_date(as.POSIXlt(x), "minute") not equal to object Component 3: Mean relative difference: 0.2 1: expect_that(floor_date(as.POSIXlt(x), "minute"), equals(as.POSIXlt(as.POSIXct("2009-08-03 12:01:00"), tz = "UTC"))) 2: test_reporter()$add_result(results) 3: stop(msg, call. = FALSE) Execution halted