[Vegan-commits] r2728 - pkg/permute/inst/tests

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Nov 21 17:43:35 CET 2013


Author: gsimpson
Date: 2013-11-21 17:43:34 +0100 (Thu, 21 Nov 2013)
New Revision: 2728

Modified:
   pkg/permute/inst/tests/test-shuffleSet.R
Log:
minor stylistic change

Modified: pkg/permute/inst/tests/test-shuffleSet.R
===================================================================
--- pkg/permute/inst/tests/test-shuffleSet.R	2013-11-21 16:42:32 UTC (rev 2727)
+++ pkg/permute/inst/tests/test-shuffleSet.R	2013-11-21 16:43:34 UTC (rev 2728)
@@ -10,7 +10,7 @@
 ## a vector of 1,0,1,0,1,...
 test_that("shuffleSet interleves block-level perms correctly", {
     gr <- factor(rep(1:2, length=20))
-    ctrl <- how(nperm=5, blocks=gr)
+    ctrl <- how(nperm = 5, blocks = gr)
     p <- shuffleSet(20, control = ctrl) %% 2
     y <- rep(c(1L, 0L), length.out = ncol(p))
     nc <- ncol(p)



More information about the Vegan-commits mailing list