aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2021-03-05 02:20:37 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-03-05 16:07:03 +0100
commitdfbbc736708851d7156ee86428eea40e56e356c0 (patch)
tree540a00e193be1e20b6162a6c6cebb6858f4f1a38 /gnu
parent58277e68d4427e110c07fca7bce931be31e6a266 (diff)
downloadguix-dfbbc736708851d7156ee86428eea40e56e356c0.tar.gz
guix-dfbbc736708851d7156ee86428eea40e56e356c0.zip
gnu: Add r-rcppthread.
* gnu/packages/cran.scm (r-rcppthread): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 22 insertions, 1 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 60d5d116b2..0943a8972b 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -11,7 +11,7 @@
;;; Copyright © 2018 Sandeep Subramanian <sandeepsubramanian94@gmail.com>
;;; Copyright © 2018 Charlie Ritter <chewzeirta@posteo.net>
;;; Copyright © 2018 Konrad Hinsen <konrad.hinsen@fastmail.net>
-;;; Copyright © 2018, 2020 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
+;;; Copyright © 2018, 2020, 2021 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
;;; Copyright © 2018 Laura Lazzati <laura.lazzati.15@gmail.com>
;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
@@ -2691,6 +2691,27 @@ and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see
@code{citation(\"Rcpp\")} for details on these last two.")
(license license:gpl2+)))
+(define-public r-rcppthread
+ (package
+ (name "r-rcppthread")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "RcppThread" version))
+ (sha256
+ (base32
+ "1xfcxrny779kgknlvnc4j02ifprnakndnkhx8bhy50d39vp4hjjl"))))
+ (properties `((upstream-name . "RcppThread")))
+ (build-system r-build-system)
+ (home-page
+ "https://github.com/tnagler/RcppThread")
+ (synopsis "R threading in C++")
+ (description
+ "This package provides a C++11-style thread class and thread pool that can
+safely be interrupted from R.")
+ (license license:expat)))
+
(define-public r-bindr
(package
(name "r-bindr")