[Vegan-commits] r2686 - pkg/permute/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Nov 9 03:04:21 CET 2013


Author: gsimpson
Date: 2013-11-09 03:04:20 +0100 (Sat, 09 Nov 2013)
New Revision: 2686

Modified:
   pkg/permute/R/shuffleSet2.R
Log:
update shuffleSet() so it calls check() correctly

Modified: pkg/permute/R/shuffleSet2.R
===================================================================
--- pkg/permute/R/shuffleSet2.R	2013-11-09 02:02:54 UTC (rev 2685)
+++ pkg/permute/R/shuffleSet2.R	2013-11-09 02:04:20 UTC (rev 2686)
@@ -15,10 +15,10 @@
     ## than requested in nset, depending upon what user specified
     ## in `control`. The `check` argument can turn this step off
     ## so you always get `nset` permutations and, yes, you can shoot
-    ## yourself in the foot with this, hence the dfeualt is to check!
+    ## yourself in the foot with this, hence the default is to check!
     if (isTRUE(check)) {
         ## need to check number of permutations won't blow up
-        pcheck <- check(sn, control = control, make.all = TRUE)
+        pcheck <- check(sn, control = control)
         ## control possibly now updated
         control <- pcheck$control
     }



More information about the Vegan-commits mailing list