Subject: [bug#39416] [PATCH 04/34] gnu: Add package r-proxyc

From: Lars-Dominik Braun <[email-masked]>
Date: Tue, 4 Feb 2020 14:55:56 +0100

* gnu/packages/cran.scm (r-proxyc): New variable.
---
 gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9ab1d4ac84..9028ff310f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19342,3 +19342,33 @@ ARIMA modelling.")
       "This is Xiaobei's miscellaneous classes and functions useful when
 developing R packages, particularly for OOP using R Reference Class.")
     (license license:gpl2+)))
+
+(define-public r-proxyc
+  (package
+    (name "r-proxyc")
+    (version "0.1.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "proxyC" version))
+        (sha256
+          (base32
+            "159bc42x4shm6n3rh9fc8ziv3ivq0ipmpbasrh279hhn1prc8gg6"))))
+    (properties `((upstream-name . "proxyC")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-matrix" ,r-matrix)
+        ("r-rcpp" ,r-rcpp)
+        ("r-rcpparmadillo" ,r-rcpparmadillo)
+        ("r-rcppparallel" ,r-rcppparallel)))
+    (home-page
+      "https://cran.r-project.org/package=proxyC")
+    (synopsis
+      "Computes Proximity in Large Sparse Matrices")
+    (description
+      "Computes proximity between rows or columns of large matrices efficiently
+in C++.  Functions are optimised for large sparse matrices using the Armadillo
+and Intel TBB libraries.  Among several built-in similarity/distance measures,
+computation of correlation, cosine similarity and Euclidean distance is
+particularly fast.")
+    (license license:gpl3)))
-- 
2.20.1