[Vegan-commits] r1305 - pkg/vegan/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Sep 17 11:37:55 CEST 2010


Author: jarioksa
Date: 2010-09-17 11:37:51 +0200 (Fri, 17 Sep 2010)
New Revision: 1305

Modified:
   pkg/vegan/R/rankindex.R
Log:
R CMD check: no visible binding for global variable ?\226?\128?\152idices?\226?\128?\153

Modified: pkg/vegan/R/rankindex.R
===================================================================
--- pkg/vegan/R/rankindex.R	2010-09-15 12:17:19 UTC (rev 1304)
+++ pkg/vegan/R/rankindex.R	2010-09-17 09:37:51 UTC (rev 1305)
@@ -16,7 +16,7 @@
     if (is.list(indices)) {
         nam <- names(indices)
         if (is.null(nam))
-            nam <- paste("dis", 1:length(idices), sep="")
+            nam <- paste("dis", 1:length(indices), sep="")
     } else nam <- indices
     names(res) <- nam
     ## indices is a list of functions which return dist objects



More information about the Vegan-commits mailing list