From dfbbc736708851d7156ee86428eea40e56e356c0 Mon Sep 17 00:00:00 2001 From: Mădălin Ionel Patrașcu Date: Fri, 5 Mar 2021 02:20:37 +0100 Subject: gnu: Add r-rcppthread. * gnu/packages/cran.scm (r-rcppthread): New variable. --- gnu/packages/cran.scm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'gnu/packages') 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 ;;; Copyright © 2018 Charlie Ritter ;;; Copyright © 2018 Konrad Hinsen -;;; Copyright © 2018, 2020 Mădălin Ionel Patrașcu +;;; Copyright © 2018, 2020, 2021 Mădălin Ionel Patrașcu ;;; Copyright © 2018 Laura Lazzati ;;; Copyright © 2018 Leo Famulari ;;; Copyright © 2018 Marius Bakke @@ -2691,6 +2691,27 @@ (define-public r-rcpp @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") -- cgit v1.2.3