From 325f46b5789488fe013aab62cbe0ee90103ed097 Mon Sep 17 00:00:00 2001 From: Navid Afkhami Date: Wed, 30 Oct 2024 19:01:55 +0000 Subject: [PATCH] gnu: Add r-coop. * gnu/packages/cran.scm (r-coop): New variable. Change-Id: Idb79f51b518a16bf6410cc4239a69ee654c6c95d Signed-off-by: Ricardo Wurmus --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 94491228a17244b9fd8729fbb5b155561d8b0549..cdb54913f0e4c8f9e145477e71f07c5510bab477 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -40881,6 +40881,29 @@ importance.") "Various utilities for evaluating continued fractions.") (license license:gpl2))) +(define-public r-coop + (package + (name "r-coop") + (version "0.6-3") + (source + (origin + (method url-fetch) + (uri (cran-uri "coop" version)) + (sha256 + (base32 "0ww99ssgawsgn6rqy838wbx6iirzdrzyxirvz084ih8j50blx420")))) + (properties `((upstream-name . "coop"))) + (build-system r-build-system) + (home-page "https://github.com/wrathematics/coop") + (synopsis + "Fast covariance, correlation, and cosine similarity computations") + (description + "R-coop offers implementations of covariance, correlation and cosine +similarity. The implementations are fast and memory-efficient and their use +is resolved automatically based on the input data, handled by R's S3 methods. +Full descriptions of the algorithms and benchmarks are available in the +package vignettes.") + (license license:bsd-2))) + (define-public r-elliptic (package (name "r-elliptic")