From tlumley at u.washington.edu  Mon Aug  1 19:16:10 2005
From: tlumley at u.washington.edu (Thomas Lumley)
Date: Mon, 1 Aug 2005 10:16:10 -0700 (PDT)
Subject: [Rd] Follow-Up: R on FC4
In-Reply-To: <1122915856.23831.43.camel@gsimpson.geog.ucl.ac.uk>
References: <1122915856.23831.43.camel@gsimpson.geog.ucl.ac.uk>
Message-ID: <Pine.A41.4.61b.0508011013500.226770@homer10.u.washington.edu>

On Mon, 1 Aug 2005, Gavin Simpson wrote:
> R-devel compiles without error (same set of flags as above) but fails
> make check-all in p-r-random-tests.R - the relevant section of p-r-
> random-tests.Rout.fail is:
>
> ...
>> dkwtest("norm")
> norm() PASSED
> [1] TRUE
>> dkwtest("norm",mean = 5,sd = 3)
> norm(mean = 5, sd = 3) PASSED
> [1] TRUE
>>
>> dkwtest("gamma",shape =  0.1)
> gamma(shape = 0.1) PASSED
> [1] TRUE
>> dkwtest("gamma",shape =  0.2)
> gamma(shape = 0.2) PASSED
> [1] TRUE
>> dkwtest("gamma",shape = 10)
> gamma(shape = 10) FAILED
> Error in dkwtest("gamma", shape = 10) : dkwtest failed
> Execution halted
>
> Is this a tolerance setting in R's tests not being met or is this
> indicative of a bad compilation of R-Devel on FC4 with gfortran?
>

Try this again -- it is a random test.  If it fails again then something 
is wrong.  The tolerance on these tests is not very tight, certainly 
nowhere near rounding error.

 	-thomas



[Rd] Follow-Up: R on FC4
Thomas Lumley