[Vegan-commits] r718 - in pkg/vegan: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Mar 4 08:39:29 CET 2009


Author: jarioksa
Date: 2009-03-04 08:39:29 +0100 (Wed, 04 Mar 2009)
New Revision: 718

Modified:
   pkg/vegan/R/diagnose.permat.R
   pkg/vegan/man/diagnose.permat.Rd
Log:
S3 generic/method inconsistency gave warnings in R CMD check

Modified: pkg/vegan/R/diagnose.permat.R
===================================================================
--- pkg/vegan/R/diagnose.permat.R	2009-03-04 05:58:34 UTC (rev 717)
+++ pkg/vegan/R/diagnose.permat.R	2009-03-04 07:39:29 UTC (rev 718)
@@ -1,5 +1,5 @@
 diagnose.permat <-
-function(x, type = "bray") {
+function(x, type = "bray", ...) {
     tsVec <- ts(summary(x)[[type]])
     ARmod <- arima(tsVec, order = c(1, 0, 0))
     ARmod$call <- match.call()

Modified: pkg/vegan/man/diagnose.permat.Rd
===================================================================
--- pkg/vegan/man/diagnose.permat.Rd	2009-03-04 05:58:34 UTC (rev 717)
+++ pkg/vegan/man/diagnose.permat.Rd	2009-03-04 07:39:29 UTC (rev 718)
@@ -14,12 +14,12 @@
 
 \usage{
 \method{plot}{permat}(x, type = "bray", ylab, xlab, col, lty,
-lowess = TRUE, plot = TRUE, text = TRUE, ...)
+    lowess = TRUE, plot = TRUE, text = TRUE, ...)
 \method{lines}{permat}(x, type = "bray", ...)
 lagplot(x, ...)
 \method{lagplot}{permat}(x, type = "bray", ...)
 diagnose(x, ...)
-\method{diagnose}{permat}(x, type = "bray")
+\method{diagnose}{permat}(x, type = "bray", ...)
 \method{print}{diagnose.permat}(x, ...)
 }
 \arguments{



More information about the Vegan-commits mailing list