aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2023-11-06 12:06:44 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-11-13 15:01:47 +0100
commitbf93f88c20928664d55b0039d7a5d4938cb638d8 (patch)
tree6315476d8b1c92bd89b18aae189b2cae0c7935a2
parent598b911334c43a1cc7d047c386f45f83d36d8aee (diff)
downloadguix-bf93f88c20928664d55b0039d7a5d4938cb638d8.tar
guix-bf93f88c20928664d55b0039d7a5d4938cb638d8.tar.gz
gnu: Add r-rcppdist.
* gnu/packages/cran.scm (r-rcppdist): New variable. Change-Id: Iaa99d2b9c63f6803979ec74f471d2d60a2bf0635
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 10bc6313c5..667035007f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6206,6 +6206,30 @@ and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see
performs global optimization by differential evolution.")
(license license:gpl2+)))
+(define-public r-rcppdist
+ (package
+ (name "r-rcppdist")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "RcppDist" version))
+ (sha256
+ (base32 "02g57xwfipdcljv06krhm02dbqn9kfyj2km6rdg0a7vq9prwdz1x"))))
+ (properties `((upstream-name . "RcppDist")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-rcpp r-rcpparmadillo))
+ (native-inputs (list r-knitr))
+ (home-page "https://github.com/duckmayr/RcppDist")
+ (synopsis "Integration of additional probability distributions")
+ (description
+ "RcppDist provides a header-only C++ library with functions for
+additional statistical distributions that can be called from C++ when writing
+code using Rcpp or RcppArmadillo. Functions are available that return a
+@code{NumericVector} as well as doubles, and for multivariate or matrix
+distributions, Armadillo vectors and matrices.")
+ (license license:gpl2+)))
+
(define-public r-rcppml
(package
(name "r-rcppml")