Christopher Fonnesbeck
2003-Apr-08 19:20 UTC
[R] Build fails for R 1.6.2: [base-Ex.Rout] Error 1
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: > ##___ Examples ___: > > var(1:10)# 9.166667 [1] 9.166667 > > var(1:5,1:5)# 2.5 [1] 2.5 > > ## Two simple vectors > cor(1:10,2:11)# == 1 [1] 1 > > > stopifnot( is.na(var(1)), + !is.nan(var(1))) Error: !is.nan(var(1)) is not TRUE Execution halted Any ideas? TIA, chris fonnesbeck -- Christopher J. Fonnesbeck (chris at fonnesbeck.org) GA Coop. Fish & Wildlife Research Unit, University of Georgia Oh my friend, what a time is this To trade the handshake for the fist -- Joni Mitchell
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 haltedYes. 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