guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 6b43a55a56c1995577a5da079842bdd68ae9c83a
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Sat May 31 07:22:32 2025 +0200
gnu: Add r-rcpphungarian.
* gnu/packages/cran.scm (r-rcpphungarian): New variable.
Change-Id: Ie79bf90658de70976a7ecf8b5e7613fc2de8c0a9
---
gnu/packages/cran.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 88e08ed107..f002601808 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -15075,6 +15075,29 @@ code using Rcpp or RcppArmadillo. Functions are
available that return a
distributions, Armadillo vectors and matrices.")
(license license:gpl2+)))
+(define-public r-rcpphungarian
+ (package
+ (name "r-rcpphungarian")
+ (version "0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "RcppHungarian" version))
+ (sha256
+ (base32 "00wxi77ajnhwds1pnmhbxaykdaiyh6ayblif58sx9r5rvv055c1a"))))
+ (properties `((upstream-name . "RcppHungarian")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-rcpp))
+ (native-inputs (list r-knitr r-testthat))
+ (home-page "https://github.com/jsilve24/RcppHungarian")
+ (synopsis "Solve minimum cost bipartite matching problems")
+ (description
+ "This package provides header library and R functions to solve minimum
+cost bipartite matching problem using Huhn-Munkres algorithm (Hungarian
+algorithm; <https://en.wikipedia.org/wiki/Hungarian_algorithm>; Kuhn (1955)
+<doi:10.1002/nav.3800020109>).")
+ (license license:gpl2+)))
+
(define-public r-rcppint64
(package
(name "r-rcppint64")