Skip to content

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

2 messages · Setzer.Woodrow@epamail.epa.gov, Brian Ripley

#
In fact, ISOdate fails with any date earlier than 1970 on this system:
[1] "NA"
[1] "1970-01-01 07:00:00 EST"

The problem is in strptime:
[1] "1970-01-01 12:00:00"
[1] "NA"

The man page for strptime doesn't mention any limitations.

R. Woodrow Setzer, Jr.                                            Phone:
(919) 541-0128
Experimental Toxicology Division                       Fax:  (919) 541-5394
Pharmacokinetics Branch
NHEERL MD-74; US EPA; RTP, NC 27711


                                                                                                                 
                    Peter Dalgaard                                                                               
                    BSA                     To:     Woodrow Setzer/RTP/USEPA/US at EPA                              
                    <p.dalgaard at bios        cc:     r-help at hypatia.math.ethz.ch                                  
                    tat.ku.dk>              Subject:     Re: [R] make check fails for 1.3.0 on SGI at            
                    Sent by:                ISOdate(1901,1,1)                                                    
                    pd at pubhealth.ku.                                                                             
                    dk                                                                                           
                                                                                                                 
                                                                                                                 
                    06/26/01 03:35                                                                               
                    PM                                                                                           
                                                                                                                 
                                                                                                                 




Setzer.Woodrow at epamail.epa.gov writes:
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Tue, 26 Jun 2001 Setzer.Woodrow at epamail.epa.gov wrote:

            
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).