Skip to content
Prev 19956 / 63421 Next

R 2.3.0 (alpha) on FreeBSD 6.1 fails make check-all

Thanks for checking.

Please look in d-p-q-r-tests.Rout.fail and see what immediately preceeds 
the line

[1] "Mean scaled  difference: 0.08333333"

Some experimentation suggests it is
If so, we have

Rhyper <- scan()
16 11 11 15 11 13 13 12 13 10 10  7 11 14 13  9 14 13 13 11

Phyper	  <- phyper   (Rhyper, m = 40, n = 30, k = 20)

and those have been checked.  So the error would appear to be in

qhyper(Phyper, m = 40, n = 30, k = 20)

and indeed a mean scaled difference of 1/12 is plausible, since the mean 
of Rhyper is 12. So I deduce that your platform has a problem in qhyper, 
but please cross-check.

If so, this is strange as the only recent change to qhyper.c (or things I 
can see it uses such as lfastchoose) is cosmetic.

Can you confirm the diagnosis is correct so far?
On Tue, 28 Mar 2006, Andrew Robinson wrote: