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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Aug 20 14:30:00 CEST 2011


Author: jarioksa
Date: 2011-08-20 14:29:54 +0200 (Sat, 20 Aug 2011)
New Revision: 1735

Modified:
   pkg/vegan/R/fitspecaccum.R
   pkg/vegan/inst/ChangeLog
Log:
a typo and if() was never true

Modified: pkg/vegan/R/fitspecaccum.R
===================================================================
--- pkg/vegan/R/fitspecaccum.R	2011-08-19 07:50:13 UTC (rev 1734)
+++ pkg/vegan/R/fitspecaccum.R	2011-08-20 12:29:54 UTC (rev 1735)
@@ -11,7 +11,7 @@
         SpeciesRichness <- as.matrix(object$richness)
     else
         SpeciesRichness <- object$perm
-    if (!is.null(object$inviduals))
+    if (!is.null(object$individuals))
         x <- object$individuals
     else
         x <- object$sites

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2011-08-19 07:50:13 UTC (rev 1734)
+++ pkg/vegan/inst/ChangeLog	2011-08-20 12:29:54 UTC (rev 1735)
@@ -7,6 +7,8 @@
 	* open new version with the release of vegan_1.17-12 on August 17,
 	2011. 
 
+	* fitspecaccum: a typo and a condition was never true.
+
 	* NAMESPACE: export pasteCall for analogue.
 
 	* NEWS: added file NEWS.Rd for vegan release 2.0 news in Rd format.



More information about the Vegan-commits mailing list