Running examples in ‘mondate-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: mondate-methods
> ### Title: Create an instance of the mondate class
> ### Aliases: mondate mondate-methods mondate,ANY-method
> ###   mondate,array-method mondate,character-method mondate,factor-method
> ###   mondate,Date-method mondate,mondate-method mondate,numeric-method
> ###   mondate,matrix-method mondate,POSIXt-method mondate,missing-method
> ### Keywords: methods
> 
> ### ** Examples
> 
> mondate("1-31-2010") # Jan. 31, 2010
mondate: timeunits="months"
[1] 01-31-2010
> mondate(60)          # 60 months after 12/31/1999, so Dec. 31, 2004
mondate: timeunits="months"
[1] 2004-12-31
> dat <- as.Date("2010-1-31")
> (M <- mondate(dat))    # Jan. 31, 2010
mondate: timeunits="months"
[1] 2010-01-31
> x <- 12 * 1:6
> mondate(x)           # first 6 yearends in 2000's
mondate: timeunits="months"
[1] 2000-12-31 2001-12-31 2002-12-31 2003-12-31 2004-12-31 2005-12-31
> y <- x + 12
> mondate(cbind(x,y))  # bounding dates of first 6 years of millennium
mondate: timeunits="months"
     x          y         
[1,] 2000-12-31 2001-12-31
[2,] 2001-12-31 2002-12-31
[3,] 2002-12-31 2003-12-31
[4,] 2003-12-31 2004-12-31
[5,] 2004-12-31 2005-12-31
[6,] 2005-12-31 2006-12-31
> (y <- mondate(1:6,timeunits="years")) # first 6 yearends, 'years' timeunits 
mondate: timeunits="years"
[1] 2000-12-31 2001-12-31 2002-12-31 2003-12-31 2004-12-31 2005-12-31
> # The results of date arithmetic on y will be displayed in "years".
> # E.g., the differences of y can be calculated as:
> tail(y,-1) - head(y,-1)# vector of five 1's, with "timeunits" attribute = "years"
Time differences in years
[1] 12 12 12 12 12
> as.numeric(x)
[1] 12 24 36 48 60 72
> as.numeric(y)        # the underlying numeric representations are the same
[1] 12 24 36 48 60 72
> 
> # Demonstrating "infinite" dates
> y <- c(y,Inf)
> y                    # last element shows as Inf
mondate: timeunits="years"
[1] 2000-12-31 2001-12-31 2002-12-31 2003-12-31 2004-12-31 2005-12-31 Inf       
> tail(y,-1) - head(y,-1)# last element is now infinity
Time differences in years
[1]  12  12  12  12  12 Inf
> 
> # The zoo examples point out a difference between zoo and mondate.
> #   zoo assumes that the zero-th part of a month or quarter is the first
> #   day of the month or quarter, whereas mondate assumes that it is 
> #   the instant before the first day of the month or quarter.
> # Since frac=0 is zoo's as.Date coersion default, a month or quarter in 
> #   zoo's sense converts to the end of the first day rather than
> #   the beginning.
> library(zoo)
Error: package or namespace load failed for ‘zoo’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so':
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so: failed to map segment from shared object
Execution halted