summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-24 20:34:59 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-24 20:36:51 +0100
commit459dcb95f4642b24062b90478310d84a36bad35a (patch)
tree4b8cf9b505618aeb8a06211332664a8d107f3616 /gnu/packages/cran.scm
parentf33cb7ab7e85fcf29f4ebb97faf679e174edf2eb (diff)
downloadguix-459dcb95f4642b24062b90478310d84a36bad35a.tar.gz
gnu: Add r-partitions.
* gnu/packages/cran.scm (r-partitions): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index fc84b9fb54..d9e6c1563b 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -11907,3 +11907,27 @@ utilities to perform genome arithmetic e.g indexing, formatting and merging.
 The bedr package's API enhances access to these tools as well as offers
 additional utilities for genomic regions processing.")
     (license license:gpl2)))
+
+(define-public r-partitions
+  (package
+    (name "r-partitions")
+    (version "1.9-19")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "partitions" version))
+       (sha256
+        (base32
+         "1pklfnjdc094c8nzkqcdvqzdh8v3p5n8jbg4pf9678iw648saiyx"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-gmp" ,r-gmp)
+       ("r-polynom" ,r-polynom)))
+    (home-page "https://cran.r-project.org/web/packages/partitions")
+    (synopsis "Additive partitions of integers")
+    (description
+     "This package provides tools to enumerates the partitions, unequal
+partitions, and restricted partitions of an integer; the three corresponding
+partition functions are also given.")
+    ;; Any version of the GPL
+    (license license:gpl2+)))