[R] make check fails for 1.3.0 on SGI at ISOdate(1901,1,1)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Jun 26 22:09:58 CEST 2001
On Tue, 26 Jun 2001 Setzer.Woodrow at epamail.epa.gov wrote:
>
> In fact, ISOdate fails with any date earlier than 1970 on this system:
>
> > ISOdate(1969,12,31)
> [1] "NA"
> > ISOdate(1970,1,1)
> [1] "1970-01-01 07:00:00 EST"
>
> The problem is in strptime:
>
> > strptime(paste(1970,1,1,12,0,0),"%Y %m %d %H %M %S")
> [1] "1970-01-01 12:00:00"
> > strptime(paste(1969,12,31,12,0,0),"%Y %m %d %H %M %S")
> [1] "NA"
>
> The man page for strptime doesn't mention any limitations.
R's or SGI's? The limitation seems to be on SGI only, and I've sent
privately some suggestions. Windows has (had before I fixed the code)
the same problem, but then Microsoft didn't exist in 1970 (although Bill
Gates did, so he must have problems with his date of birth).
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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