summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2018-07-02 13:25:24 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-07-03 17:58:55 +0200
commit3568b8234a64b0c34c9166ae2fddb6592b78002a (patch)
tree6b2809b04c031a3cbffd2f7ed0da0280f43bca16 /gnu/packages/cran.scm
parenta51cf16031c974ffa238e5dd9ced32f0d68c9227 (diff)
downloadguix-3568b8234a64b0c34c9166ae2fddb6592b78002a.tar.gz
gnu: Add r-itertools.
* gnu/packages/cran.scm (r-itertools): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index eeaeefd81f..fb2d9f1e08 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4482,6 +4482,28 @@ functionality is added so that HDF5 objects behave very similar to their
 corresponding R counterparts.")
     (license license:asl2.0)))
 
+(define-public r-itertools
+  (package
+    (name "r-itertools")
+    (version "0.1-3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "itertools" version))
+       (sha256
+        (base32
+         "1ls5biiva10pb1dj3ph4griykb9vam02hkrdmlr5a5wf660hg6xn"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-iterators" ,r-iterators)))
+    (home-page "https://cran.r-project.org/web/packages/itertools/")
+    (synopsis "Iterator tools")
+    (description
+     "This package provides various tools for creating iterators, many
+patterned after functions in the Python @code{itertools} module, and others
+patterned after functions in the snow package.")
+    (license license:gpl2)))
+
 (define-public r-writexl
   (package
     (name "r-writexl")