guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/13: gnu: Add r-rcppdist.


From: guix-commits
Subject: 08/13: gnu: Add r-rcppdist.
Date: Mon, 13 Nov 2023 09:10:06 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit bf93f88c20928664d55b0039d7a5d4938cb638d8
Author: Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
AuthorDate: Mon Nov 6 12:06:44 2023 +0100

    gnu: Add r-rcppdist.
    
    * 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 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]