guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add r-nabor.


From: guix-commits
Subject: branch master updated: gnu: Add r-nabor.
Date: Tue, 18 Aug 2020 06:30:49 -0400

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 51c2fef  gnu: Add r-nabor.
51c2fef is described below

commit 51c2fef1e22bdeb11db334da77e7ca507db29973
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Aug 18 12:18:02 2020 +0200

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ae98c7a..7d9385a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -23059,3 +23059,31 @@ clusters.  The method is sufficiently flexible so that 
a wide range of
 Gaussian and non-Gaussian structures can be clustered with automatic selection
 of K.")
     (license license:agpl3+)))
+
+(define-public r-nabor
+  (package
+    (name "r-nabor")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "nabor" version))
+       (sha256
+        (base32
+         "1nj39cdfwrmhgsi3cq8imxv3n6xzc1v6dzdb2cf2hybjk368v4s7"))))
+    (properties `((upstream-name . "nabor")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-bh" ,r-bh)
+       ("r-rcpp" ,r-rcpp)
+       ("r-rcppeigen" ,r-rcppeigen)))
+    (home-page "https://cran.r-project.org/web/packages/nabor/";)
+    (synopsis "Wrapper for K nearest neighbour library for low dimensions")
+    (description
+     "This package provides an R wrapper for libnabo, an exact or approximate
+k nearest neighbour library which is optimised for low dimensional
+spaces (e.g. 3D).  @code{nabor} includes a @code{knn} function that is
+designed as a drop-in replacement for the RANN function @code{nn2}.  In
+addition, objects which include the k-d tree search structure can be returned
+to speed up repeated queries of the same set of target points.")
+    (license license:bsd-3)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]