[Rd] R 2.3.0 (alpha) on FreeBSD 6.1 fails make check-all
Andrew Robinson
A.Robinson at ms.unimelb.edu.au
Tue Mar 28 09:55:37 CEST 2006
Hi Developers,
The alpha, compiles successfully, but it is failing make check-all (on
two seperate machines, both FreeBSD 6.1).
Here is the version string:
platform i386-unknown-freebsd6.1
arch i386
os freebsd6.1
system i386, freebsd6.1
status alpha
major 2
minor 3.0
year 2006
month 03
day 27
svn rev 37584
language R
version.string Version 2.3.0 alpha (2006-03-27 r37584)
Here is the error message from make check-all
comparing 'd-p-q-r-tests.Rout' to './d-p-q-r-tests.Rout.save'
...706c706
< [1] "Mean scaled difference: 0.08333333"
---
> [1] TRUE
gmake[3]: *** [d-p-q-r-tests.Rout] Error 1
gmake[3]: Leaving directory `/usr/local/beta/R-alpha/tests'
gmake[2]: *** [test-Specific] Error 2
gmake[2]: Leaving directory `/usr/local/beta/R-alpha/tests'
gmake[1]: *** [test-all-basics] Error 1
gmake[1]: Leaving directory `/usr/local/beta/R-alpha/tests'
gmake: *** [check-all] Error 2
I have checked d-p-q-r-tests.Rout.fail for any obvious problems - I
found some warnings, viz.
> pgamma(1,Inf,scale=Inf) == 0
[1] TRUE
> ## Also pgamma(Inf,Inf) == 1 for which NaN was slightly more
appropriate
> all(is.nan(c(pgamma(Inf, 1,scale=Inf),
+ pgamma(Inf,Inf,scale=Inf))))
[1] TRUE
Warning messages:
1: NaNs produced in: pgamma(q, shape, scale, lower.tail, log.p)
2: NaNs produced in: pgamma(q, shape, scale, lower.tail, log.p)
> x0 <- -2 * 10^-c(22,10,7,5)
> stopifnot(pbinom(x0, size = 3, prob = 0.1) == 0,
+ dbinom(x0, 3, 0.1) == 0) # d*() warns about non-integer
Warning messages:
1: non-integer x = -0.000000
2: non-integer x = -0.000020
> ## very small negatives were rounded to 0 in R 2.2.1 and earlier
>
I hope that this is helpful. Thanks are due to Peter Dalgaard for
guidance. So, thanks Peter :).
Cheers
Andrew
--
Andrew Robinson
Department of Mathematics and Statistics Tel: +61-3-8344-9763
University of Melbourne, VIC 3010 Australia Fax: +61-3-8344-4599
Email: a.robinson at ms.unimelb.edu.au http://www.ms.unimelb.edu.au
More information about the R-devel
mailing list