[R] Build on Solaris 8 gcc-3.1 fails make check

Chin-Shan Chuang chinshan.chuang at stanfordalumni.org
Thu Jul 18 21:31:00 CEST 2002

Hi, I also seem to have the same problem.

A related question -- are NAs and NaNs supposed to be the same in R?
If they are not, wouldn't it be more appropriate for var(1) to return 
NaN and to take out the test 
"stopifnot( is.na(var(1)), !is.nan(var(1)) )"? 
(Presumably NA is used to denote a missing value, and var(1) is not

Excluding this test, I also found that make check fails at the step
"stopifnot( ..., !is.nan(c(1,NA)), ... )" or line 7877 of base-Ex.R.
Could someone please comment on this as well? On this compiled 
version of R, I get !is.nan(c(1,NA)) returns TRUE FALSE although 
!is.nan(NA) returns TRUE. 

Thanks very much!


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