From 3cf9ae2f758d130fe4e9dcb3535bd5b8b4bb0377 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 21 Apr 2018 22:25:43 +0200 Subject: gnu: Add r-dosnow. * gnu/packages/cran.scm (r-dosnow): New variable. --- gnu/packages/cran.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages') 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))) -- cgit v1.2.3