[R] make check fails for 1.3.0 on SGI at ISOdate(1901,1,1)

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Jun 26 21:35:38 CEST 2001


Setzer.Woodrow at epamail.epa.gov writes:

> I've successfully compiled R 1.3.0 on SGI (info below) but it fails make
> check.  From base-Ex.Rout:
> 
> > ## first days of years in the (commonly used) 20th century
> > seq(ISOdate(1901,1,1), ISOdate(1999,1,1), "years")
> Error in if (to <= from) stop("`to' must be later than `from'") :
>         missing value where logical needed
> Execution halted
> 
> Indeed, from the same binary:
> 
> > ISOdate(1901,1,1)
> [1] "NA"
> > ISOdate(1999,1,1)
> [1] "1999-01-01 07:00:00 EST"
> 
> Does anyone have any ideas?

You probably have a problem in the substrate that ISOdate feeds on.

Offhand, I'd suspect an overrun problem. Some systems that represent
time as seconds since 1970 get in trouble in 2038, wouldn't they also
get in trouble from going more than 68 years backwards in time from
1970. Does it work if you replace 1901 with - say - 1910?

To see if the rest checks out, you could comment out that example in
the sources.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list