aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-08-02 15:53:49 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-08-03 17:53:42 +0200
commit4bb0b4cc0aeffcc97d67c257e0c839aedb87f680 (patch)
tree24f6715044a5350fa0e2e7ff1d9585863d892fc8
parenteed58a0886433195fd610fc2b7d19c11c11c4ca1 (diff)
downloadguix-4bb0b4cc0aeffcc97d67c257e0c839aedb87f680.tar
guix-4bb0b4cc0aeffcc97d67c257e0c839aedb87f680.tar.gz
gnu: Add r-bindrcpp.
* gnu/packages/cran.scm (r-bindrcpp): New variable.
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index c0f34f1375..feae801116 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -125,3 +125,26 @@ and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see
"This package provides a simple interface for creating active bindings
where the bound function accepts additional arguments.")
(license license:expat)))
+
+(define-public r-bindrcpp
+ (package
+ (name "r-bindrcpp")
+ (version "0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "bindrcpp" version))
+ (sha256
+ (base32
+ "0l1l22zl87wiyl79m3gj2vlxmkhxvrkl4alhyy08h55q7hqs3vyh"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-bindr" ,r-bindr)
+ ("r-plogr" ,r-plogr)
+ ("r-rcpp" ,r-rcpp)))
+ (home-page "https://github.com/krlmlr/bindrcpp")
+ (synopsis "Rcpp interface to active bindings")
+ (description
+ "This package provides an easy way to fill an environment with active
+bindings that call a C++ function.")
+ (license license:expat)))