Subject: [bug#66966] [PATCH 08/13] gnu: Add r-rcppdist.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Mon, 6 Nov 2023 12:06:44 +0100

* gnu/packages/cran.scm (r-rcppdist): New variable.

Change-Id: Iaa99d2b9c63f6803979ec74f471d2d60a2bf0635
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 30f28f6adc..18dd82fd03 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6132,6 +6132,30 @@ (define-public r-rcppde
 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")
-- 
2.41.0