From 7cd1dd3e105341df7c72d67f45df6a872be865ba Mon Sep 17 00:00:00 2001 From: zimoun Date: Fri, 8 Apr 2022 16:59:52 +0200 Subject: [PATCH] gnu: Add r-paralleldist. * gnu/packages/cran.scm (r-paralleldist): New variable. --- gnu/packages/cran.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index be77a57f28..8a7d98cf30 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -1074,6 +1074,31 @@ (define-public r-pacman functions which can speed up workflow.") (license license:gpl2))) +(define-public r-paralleldist + (package + (name "r-paralleldist") + (version "0.2.6") + (source + (origin + (method url-fetch) + (uri (cran-uri "parallelDist" version)) + (sha256 + (base32 "01ly4hxwa64a0ya5gla8rvv72s9mcknsfznivjkh937pbjwb7iih")))) + (properties `((upstream-name . "parallelDist"))) + (build-system r-build-system) + (propagated-inputs (list r-rcpp r-rcpparmadillo r-rcppparallel)) + (home-page "https://github.com/alexeckert/parallelDist") + (synopsis "Parallel Distance Matrix Computation using multiple threads") + (description + "This package provides a fast parallelized alternative to R's native +@code{dist} function to calculate distance matrices for continuous, binary, +and multi-dimensional input matrices, which supports a broad variety of +predefined distance functions from other R packages, as well as user- defined +functions written in C++. For ease of use, the @code{parDist} function +extends the signature of the @code{dist} function and uses the same parameter +naming conventions as distance methods of existing R packages.") + (license license:gpl2+))) + (define-public r-pheatmap (package (name "r-pheatmap")