summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRoel Janssen <roel@gnu.org>2021-05-26 15:37:43 +0200
committerRoel Janssen <roel@gnu.org>2021-05-26 15:37:43 +0200
commitf5282a17381a0ea2f0aee4702e95bcd24509a256 (patch)
tree1a4cdc3603dc57525810f828497b9be58a0740cc /gnu
parentd3dcb8c73689b4cf47d1f1707c92b83db145f0e7 (diff)
downloadguix-f5282a17381a0ea2f0aee4702e95bcd24509a256.tar.gz
gnu: Add r-rcppnumerical.
* gnu/packages/cran.scm (r-rcppnumerical): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d013ffd039..4278ef2af2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -2989,6 +2989,27 @@ and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see
 safely be interrupted from R.")
     (license license:expat)))
 
+(define-public r-rcppnumerical
+  (package
+    (name "r-rcppnumerical")
+    (version "0.4-0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "RcppNumerical" version))
+              (sha256
+               (base32
+                "1a92fql6mijhnr1kxkcxwivf95pk9lhgmhzkshs51h0ybfv5krik"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-rcpp" ,r-rcpp)
+       ("r-rcppeigen" ,r-rcppeigen)))
+    (home-page "https://github.com/yixuan/RcppNumerical")
+    (synopsis"Numerical computing libraries integration with @code{Rcpp}")
+    (description "This package provides a collection of libraries for numerical
+computing (numerical integration, optimization, etc.) and their integration
+with @code{Rcpp}.")
+    (license license:gpl2+)))
+
 (define-public r-bindr
   (package
     (name "r-bindr")