[Rd] is.na(valid_date) too often true on SGI MIPS (PR#6814)

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 23 18:46:15 CEST 2004


I'm sorry, but this is completely unreproducible, and the second you say 
is true you quote as false.

d is a list, so can you tell us unclass(d) in both cases?

Also, I cannot see those examples anywhere in the R sources so can you 
please show the actual output you got.

On Fri, 23 Apr 2004 aa056 at chebucto.ns.ca wrote:

> Full_Name: George N. White III
> Version: 1.9.0
> OS: Irix 6.5.21m
> Submission from: (NULL) (142.176.61.212)
> 
> 
> R-1.9.0 built using the SGI MIPSPro compilers
> 
>   Installation directory:    /usr/local
> 
>   C compiler:                c99 -OPT:IEEE_NaN_inf=ON -mips4 -n32 -O3
> -OPT:Olimit_opt=on
>   C++ compiler:              CC -OPT:IEEE_NaN_inf=ON -mips4 -n32 -O3
> -OPT:Olimit_opt=on -LANG:std
>   Fortran compiler:          f90 -OPT:IEEE_NaN_inf=ON -mips4 -n32 -O3
> -OPT:Olimit_opt=on
> 
>   Interfaces supported:      X11, gnome, tcltk
>   External libraries:        readline, BLAS(generic), LAPACK(generic)
>   Additional capabilities:   PNG, JPEG
>   Options enabled:           shared library, R profiling
> 
>   Recommended packages:      yes
> 
> "make check" fails in 2 places due to is.na(..) returning TRUE for valid dates:
> 
> > d<-strptime("1910/1/1", "%Y/%m/%d")
> > is.na(d)
> [1] TRUE
> > d
> [1] "1910-01-01"
> 
> > d<-strptime("1970/1/1", "%Y/%m/%d")
> > is.na(d)
> [1] FALSE
> > d
> [1] "1970-01-01"
> 
> Incidentally:
> > NA+NaN;NaN+NA
> [1] NA
> [1] NaN
> 
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> 
> 

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list