[Vegan-commits] r2599 - in pkg/vegan: R inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Aug 28 14:46:35 CEST 2013


Author: jarioksa
Date: 2013-08-28 14:46:34 +0200 (Wed, 28 Aug 2013)
New Revision: 2599

Modified:
   pkg/vegan/R/capscale.R
   pkg/vegan/inst/ChangeLog
Log:
remove tweak against changed cmdscale output in R 2.13.0 (depend on newer R)

Modified: pkg/vegan/R/capscale.R
===================================================================
--- pkg/vegan/R/capscale.R	2013-08-28 12:41:00 UTC (rev 2598)
+++ pkg/vegan/R/capscale.R	2013-08-28 12:46:34 UTC (rev 2599)
@@ -79,8 +79,6 @@
     if (add) {
         X <- cmdscale(X, k = k, eig = TRUE, add = add)
         ## All eigenvalues *should* be positive, but see that they are
-        if (getRversion() < "2.13.0")
-            X$points <- X$points[, X$eig[-(k+1)] > 0]
         X$eig <- X$eig[X$eig > 0]
     }
     else

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2013-08-28 12:41:00 UTC (rev 2598)
+++ pkg/vegan/inst/ChangeLog	2013-08-28 12:46:34 UTC (rev 2599)
@@ -19,6 +19,9 @@
 	* tweaks for R < 2.12.1 removed: code to fix buggy naming of
 	columns in qr.X before 2.12.1 (as.mlm.cca/rda, intersetcor), and
 	change in the cmdscale() output (eigenvals.default).
+
+	* tweak for R < 2.13.0 removed: change in cmdscale() output
+	(capscale).
 	
 Version 2.1-33 (closed August 28, 2013)
 



More information about the Vegan-commits mailing list