diff mbox series

[bug#74117] gnu: Add r-coop.

Message ID 58075da869ada7621043c39799da6b795ac1dc1c.1730314915.git.navid.afkhami@mdc-berlin.de
State New
Headers show
Series [bug#74117] gnu: Add r-coop. | expand

Commit Message

Navid Afkhami Oct. 30, 2024, 7:01 p.m. UTC
* gnu/packages/cran.scm (r-coop): New variable.

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


base-commit: d6f775c30c6f47e174f6110d1089edc6315600e4
prerequisite-patch-id: 54292fa0b75533f02730e2da44993ad685d4a432
prerequisite-patch-id: 360575ef7e49c4e4e6b52644964df061856aee57
prerequisite-patch-id: 3904682af2961b8cb06ced06ab62c60604114dad
diff mbox series

Patch

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index aa57134166..6c0861509d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -40805,6 +40805,29 @@  (define-public r-contfrac
       "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
+     "Co-Operation: 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")