summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-01-17 11:09:22 -0600
committerGitHub <noreply@github.com>2021-01-17 11:09:22 -0600
commit3213dbf27ffda1ef02b01bafbf981ccf6d96c55c (patch)
tree89dabe4bc37c9cb88e47eb2ed13ecb4c0e996303
parentb756df13d748b29a690abd1c25774231e88015b1 (diff)
downloadspack-3213dbf27ffda1ef02b01bafbf981ccf6d96c55c.tar.gz
spack-3213dbf27ffda1ef02b01bafbf981ccf6d96c55c.tar.bz2
spack-3213dbf27ffda1ef02b01bafbf981ccf6d96c55c.tar.xz
spack-3213dbf27ffda1ef02b01bafbf981ccf6d96c55c.zip
add version 0.1-10 to r-multicool (#21108)
-rw-r--r--var/spack/repos/builtin/packages/r-multicool/package.py19
1 files changed, 18 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/r-multicool/package.py b/var/spack/repos/builtin/packages/r-multicool/package.py
index 51f06600f8..662f1f12bb 100644
--- a/var/spack/repos/builtin/packages/r-multicool/package.py
+++ b/var/spack/repos/builtin/packages/r-multicool/package.py
@@ -7,12 +7,29 @@ from spack import *
class RMulticool(RPackage):
- """Permutations of multisets in cool-lex order."""
+ """Permutations of multisets in cool-lex order
+
+ A set of tools to permute multisets without loops or hash tables and to
+ generate integer partitions. The permutation functions are based on C code
+ from Aaron Williams. Cool-lex order is similar to colexicographical order.
+ The algorithm is described in Williams, A. (2009)
+ <DOI:10.1145/1496770.1496877> Loopless Generation of Multiset Permutations
+ by Prefix Shifts. Symposium on Discrete Algorithms, New York, United
+ States. The permutation code is distributed without restrictions. The code
+ for stable and efficient computation of multinomial coefficients comes from
+ Dave Barber. The code can be download from
+ <http://tamivox.org/dave/multinomial/code.html> and is distributed without
+ conditions. The package also generates the integer partitions of a
+ positive, non-zero integer n. The C++ code for this is based on Python code
+ from Jerome Kelleher which can be found here
+ <http://jeromekelleher.net/tag/integer-partitions.html>. The C++ code and
+ Python code are distributed without conditions."""
homepage = "https://cloud.r-project.org/package=multicool"
url = "https://cloud.r-project.org/src/contrib/Archive/multicool/multicool_0.1-9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/multicool/Archive/multicool"
+ version('0.1-10', sha256='5bb0cb0d9eb64420c862877247a79bb0afadacfe23262ec8c3fa26e5e34d6ff9')
version('0.1-9', sha256='bdf92571cef1b649952d155395a92b8683099ee13114f73a9d41fc5d7d49d329')
depends_on('r-rcpp@0.11.2:', type=('build', 'run'))