[Analogue-commits] r301 - in pkg: inst man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Jan 16 21:49:40 CET 2013
Author: gsimpson
Date: 2013-01-16 21:49:39 +0100 (Wed, 16 Jan 2013)
New Revision: 301
Modified:
pkg/inst/ChangeLog
pkg/man/wa.Rd
Log:
reduce precision in test only during wa example
Modified: pkg/inst/ChangeLog
===================================================================
--- pkg/inst/ChangeLog 2013-01-16 20:45:19 UTC (rev 300)
+++ pkg/inst/ChangeLog 2013-01-16 20:49:39 UTC (rev 301)
@@ -9,6 +9,17 @@
method also gains an argument `order` that can be used to
reorder the passive samples into correct temporal ordering.
+ * Dependencies: MASS and mgcv moved from Depends: to Imports:
+ reflecting the relatively light use of functions from these
+ packages in analogue. The functions needed are imported in
+ analogue's NAMESPACE file.
+
+ * Tests: code in wa() generates slightly different results
+ under R 3.0.0 (to be). Differences are in the 8th or 9th
+ decimal place so irrelevant, but I was the reference output
+ for the examples was checking to that level of precision.
+ For tests only, the Example in ?wa uses options(digits = 5).
+
Version 0.10-0
* Release: Version 0.9-11 plus a minor documentation fix
Modified: pkg/man/wa.Rd
===================================================================
--- pkg/man/wa.Rd 2013-01-16 20:45:19 UTC (rev 300)
+++ pkg/man/wa.Rd 2013-01-16 20:49:39 UTC (rev 301)
@@ -162,6 +162,7 @@
\author{Gavin L. Simpson and Jari Oksanen}
\seealso{\code{\link{mat}} for an alternative transfer function method.}
\examples{
+\testonly{od <- options(digits = 5)}
data(ImbrieKipp)
data(SumSST)
@@ -215,6 +216,7 @@
## residuals for the training set
residuals(mod4)
+\testonly{options(od)}
}
\keyword{methods}
\keyword{models}
More information about the Analogue-commits
mailing list