[R] Build fails for R 1.6.2: [base-Ex.Rout] Error 1

Thomas Lumley tlumley at u.washington.edu
Tue Apr 8 21:44:00 CEST 2003


On Tue, 8 Apr 2003, Christopher Fonnesbeck wrote:

> I am trying to build 1.6.2 from source RPM's on RedHat 9, but encounter
> a failure when running the base tests. An inspection of
> base-Ex.Rout.fail reveals the following:
>

>  >
>  >  stopifnot(  is.na(var(1)),
> +            !is.nan(var(1)))
> Error: !is.nan(var(1)) is not TRUE
> Execution halted

Yes. The version of gcc in RedHat 9 will not distinguish NA and NaN at
least sometimes, when optimization is used.  The bug report for RedHat is
at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=88174

A fix has been added to the development version of R.


	-thomas

Thomas Lumley			Asst. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle



More information about the R-help mailing list