Version 0.9-7 of permute is now on CRAN. This version fixed an error caught in r-devel (to be 4.2 I think).
- The documented behaviour of
shuffleFree()
allowedshuffleFree(x = 1:10)
,
withx
passed immediately tosample.int()
, which is incorrect and raises
an error in the development version of R (at the time of writing).
Reported by Brian Ripley.
I had previously drafted version 0.9-6 for release but for some reason it never got released. That version fixed a bug in allPerms()
allPerms()
was callingallSeries()
with the incorrect number of
permutations, leading to problems withshuffleSet()
also.
#28 reported by Cajo ter Braak
This fix is contained with 0.9-7.