[Vegan-commits] r1809 - in permbranches/0.6: . inst inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Sep 8 13:13:07 CEST 2011


Author: gsimpson
Date: 2011-09-08 13:13:07 +0200 (Thu, 08 Sep 2011)
New Revision: 1809

Modified:
   permbranches/0.6/DESCRIPTION
   permbranches/0.6/inst/ChangeLog
   permbranches/0.6/inst/doc/permutations.Rnw
Log:
bump to 0.6-2, fix a problem in vignette example from r1806

Modified: permbranches/0.6/DESCRIPTION
===================================================================
--- permbranches/0.6/DESCRIPTION	2011-09-08 11:11:45 UTC (rev 1808)
+++ permbranches/0.6/DESCRIPTION	2011-09-08 11:13:07 UTC (rev 1809)
@@ -1,6 +1,6 @@
 Package: permute
 Title: Functions for generating restricted permutations of data
-Version: 0.6-1
+Version: 0.6-2
 Date: $Date$
 Author: Gavin L. Simpson
 Maintainer: Gavin L. Simpson <gavin.simpson at ucl.ac.uk>

Modified: permbranches/0.6/inst/ChangeLog
===================================================================
--- permbranches/0.6/inst/ChangeLog	2011-09-08 11:11:45 UTC (rev 1808)
+++ permbranches/0.6/inst/ChangeLog	2011-09-08 11:13:07 UTC (rev 1809)
@@ -2,6 +2,10 @@
 
 permute ChangeLog
 
+Version 0.6-2 (opened 8 September, 2011)
+
+	* Vignette: silly typo is example code illustrating shuffle()
+
 Version 0.6-1 (released to CRAN on September 7, 2011)
 
 	* NAMESPACE: export(permuplot)

Modified: permbranches/0.6/inst/doc/permutations.Rnw
===================================================================
--- permbranches/0.6/inst/doc/permutations.Rnw	2011-09-08 11:11:45 UTC (rev 1808)
+++ permbranches/0.6/inst/doc/permutations.Rnw	2011-09-08 11:13:07 UTC (rev 1809)
@@ -157,10 +157,10 @@
 <<>>=
 str(permControl())
 @
-The defaults describe a random permutation design where all objects are freely exchangeable. Using these defaults, \code{shuffle(1:10)} amounts to \code{sample(1:10, 10, replace = FALSE)}:
+The defaults describe a random permutation design where all objects are freely exchangeable. Using these defaults, \code{shuffle(10)} amounts to \code{sample(1:10, 10, replace = FALSE)}:
 <<>>=
 set.seed(2)
-(r1 <- shuffle(1:10))
+(r1 <- shuffle(10))
 set.seed(2)
 (r2 <- sample(1:10, 10, replace = FALSE))
 all.equal(r1, r2)



More information about the Vegan-commits mailing list