[R] "Error: testing 'stats' failed" - R 2.9.2 on Linux
John Murdie
john at cs.york.ac.uk
Wed Oct 14 19:04:35 CEST 2009
I've just built R 2.9.2 from source on Slackware Linux 13.0 - 32-bit
(will try 64-bit also next) - and seen:
> Collecting examples for package 'stats'
> Running examples in package 'stats'
> Error: testing 'stats' failed
> Execution halted
> make[3]: *** [test-Examples-Base] Error 1
Looking at R-2.9.2/tests/Examples/stats-Ex.Rout.fail I see:
...
> ### ** Examples
> >
> > ## see also JohnsonJohnson, Nile and AirPassengers
> > require(graphics)
> >
> > trees <- window(treering, start=0)
> > (fit <- StructTS(trees, type = "level"))
>
> Call:
> StructTS(x = trees, type = "level")
>
> Variances:
> level epsilon
> 0.0003700 0.0719877
> > plot(trees)
> > lines(fitted(fit), col = "green")
> > tsdiag(fit)
> >
> > (fit <- StructTS(log10(UKgas), type = "BSM"))
> Error in optim(init[mask], getLike, method = "L-BFGS-B", lower = rep(0, :
> non-finite value supplied by optim
> Calls: StructTS -> optim
> Execution halted
I'll be happy to supply any information I can upon request to help the
developers solve this apparent problem. I've searched the R mailing
lists - and done a general Google - but can't find any previous mention
of the matter.
John A. Murdie
More information about the R-help
mailing list