Running ‘as.Date.R’
  Running ‘bugfixes.R’
  Comparing ‘bugfixes.Rout’ to ‘bugfixes.Rout.save’ ... OK
  Running ‘na.locf.R’
  Comparing ‘na.locf.Rout’ to ‘na.locf.Rout.save’ ... OK
  Running ‘vignette-zoo-quickref.R’
  Comparing ‘vignette-zoo-quickref.Rout’ to ‘vignette-zoo-quickref.Rout.save’ ... OK
  Running ‘vignette-zoo.R’
  Comparing ‘vignette-zoo.Rout’ to ‘vignette-zoo.Rout.save’ ... OK
Running the tests in ‘tests/as.Date.R’ failed.
Complete output:
  > ## set Z's timezone for reproducibility
  > Sys.setenv(TZ = "Europe/Vienna")
  > 
  > ## base results
  > as.Date(10957, origin = "1970-01-01")
  [1] "2000-01-01"
  > as.Date("2000-01-01")
  [1] "2000-01-01"
  > as.Date(as.POSIXct("2000-01-01 00:00:00 GMT", tz = "GMT"))
  [1] "2000-01-01"
  > as.Date(as.POSIXlt("2000-01-01 00:00:00 GMT", tz = "GMT"))
  [1] "2000-01-01"
  > as.Date(NA)
  [1] NA
  > 
  > ## for chron objects
  > library("chron")
  > as.Date(dates("01/01/2000"))
  [1] "2000-01-01"
  > as.Date(chron("01/01/2000", "00:00:00"))
  [1] "2000-01-01"
  > 
  > ## for tis objects
  > library("tis")
  > as.Date(ti(20000101, "daily"))
  [1] "2000-01-01"
  > as.Date(jul(20000101))
  [1] "2000-01-01"
  > 
  > ## for timeDate objects
  > library("timeDate")
  
  Attaching package: 'timeDate'
  
  The following objects are masked from 'package:tis':
  
      dayOfWeek, dayOfYear, isHoliday
  
  > as.Date(timeDate("2000-01-01"))
  [1] "2000-01-01"
  > 
  > ## with zoo attached (masking as.Date/as.Date.numeric)
  > library("zoo")
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  > as.Date(10957)
  [1] "2000-01-01"
  > as.Date("2000-01-01")
  [1] "2000-01-01"
  > as.Date(as.POSIXct("2000-01-01 00:00:00 GMT", tz = "GMT"))
  [1] "2000-01-01"
  > as.Date(as.POSIXlt("2000-01-01 00:00:00 GMT", tz = "GMT"))
  [1] "2000-01-01"
  > as.Date(NA)
  [1] NA
  > as.Date(yearmon(2000))
  [1] "2000-01-01"
  > as.Date(yearqtr(2000))
  [1] "2000-01-01"
  > as.Date(dates("01/01/2000"))
  Error in as.Date.default(dates("01/01/2000")) : 
    do not know how to convert 'dates("01/01/2000")' to class "Date"
  Calls: as.Date -> as.Date.default
  Execution halted