aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-04-21 22:25:43 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-04-21 23:07:52 +0200
commit3cf9ae2f758d130fe4e9dcb3535bd5b8b4bb0377 (patch)
tree788f295e62817dede306e4d8141e5c91c1f7189b /gnu
parent6ab97ed56a08a161dce54b790aa7d134546bcbd1 (diff)
downloadpatches-3cf9ae2f758d130fe4e9dcb3535bd5b8b4bb0377.tar
patches-3cf9ae2f758d130fe4e9dcb3535bd5b8b4bb0377.tar.gz
gnu: Add r-dosnow.
* gnu/packages/cran.scm (r-dosnow): New variable.
Diffstat (limited to 'gnu')
-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 88be6b3d44..ec1f2e10f4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3899,3 +3899,27 @@ allowing a single R process to orchestrate multiple tasks in the background
while also attending to something else. Semantics are similar to JavaScript
promises, but with a syntax that is idiomatic R.")
(license license:expat)))
+
+(define-public r-dosnow
+ (package
+ (name "r-dosnow")
+ (version "1.0.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "doSNOW" version))
+ (sha256
+ (base32
+ "13ir4a8252h4yvp5ir9xnwack1kn58i4ny6sf2qdc12zspn3850n"))))
+ (properties `((upstream-name . "doSNOW")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-foreach" ,r-foreach)
+ ("r-iterators" ,r-iterators)
+ ("r-snow" ,r-snow)))
+ (home-page "https://cran.r-project.org/web/packages/doSNOW")
+ (synopsis "Foreach parallel adaptor for the snow package")
+ (description
+ "This package provides a parallel backend for the @code{%dopar%} function
+using the @code{snow} package.")
+ (license license:gpl2)))