Patchwork [4/4] gnu: Add r-domc.

login
register
mail settings
Submitter Ricardo Wurmus
Date July 6, 2016, 3:31 p.m.
Message ID <20160706153118.3216-4-ricardo.wurmus@mdc-berlin.de>
Download mbox | patch
Permalink /patch/13673/
State New
Headers show

Comments

Ricardo Wurmus - July 6, 2016, 3:31 p.m.
* gnu/packages/statistics.scm (r-domc): New variable.
---
 gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Patch

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 6d5ee67..45e50b6 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2267,6 +2267,29 @@  parallel.")
 using the parallel package.")
     (license license:gpl2+)))
 
+(define-public r-domc
+  (package
+    (name "r-domc")
+    (version "1.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "doMC" version))
+       (sha256
+        (base32
+         "0y47jl6g4f83r14pj8bafdzq1phj7bxy5dwyz3k43d2rr8phk8bn"))))
+    (properties `((upstream-name . "doMC")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-foreach" ,r-foreach)
+       ("r-iterators" ,r-iterators)))
+    (home-page "http://cran.r-project.org/web/packages/doMC")
+    (synopsis "Foreach parallel adaptor for the 'parallel' package")
+    (description
+     "This package provides a parallel backend for the @code{%dopar%} function
+using the multicore functionality of the parallel package.")
+    (license license:gpl2+)))
+
 (define-public r-dt
   (package
     (name "r-dt")