rekado pushed a commit to branch master
in repository guix.
commit dec2a0c9289fecbcdf963e46f036a2c01ac2d2a6
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Aug 12 11:54:19 2020 +0200
gnu: Add r-cpp11.
* gnu/packages/cran.scm (r-cpp11): New variable.
---
gnu/packages/cran.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index e62ce5f..fe714d4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22885,3 +22885,26 @@ Computation of @dfn{genetic relationship matrix} (GRM)
and dominance matrix,
@dfn{linkage disequilibrium} (LD), and heritability with efficient algorithms
for linear mixed models (AIREML).")
(license license:gpl3)))
+
+(define-public r-cpp11
+ (package
+ (name "r-cpp11")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "cpp11" version))
+ (sha256
+ (base32
+ "1113y61lj4cg1d2yjavdx9zih5rzb4pnxmj5v3sr4bhzlxz2scda"))))
+ (properties `((upstream-name . "cpp11")))
+ (build-system r-build-system)
+ (native-inputs `(("r-knitr" ,r-knitr)))
+ (home-page "https://github.com/r-lib/cpp11")
+ (synopsis "C++11 Interface for R's C Interface")
+ (description
+ "This package provides a header only, C++11 interface to R's C interface.
+Compared to other approaches @code{cpp11} strives to be safe against long
+jumps from the C API as well as C++ exceptions, conform to normal R function
+semantics and supports interaction with @code{ALTREP} vectors.")
+ (license license:expat)))