diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/r-rann/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/r-rann/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-rann/package.py b/var/spack/repos/builtin/packages/r-rann/package.py new file mode 100644 index 0000000000..bbe014ee45 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-rann/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class RRann(RPackage): + """Finds the k nearest neighbours for every point in a given dataset in O(N + log N) time using Arya and Mount's ANN library (v1.1.3). There is support + for approximate as well as exact searches, fixed radius searches and 'bd' + as well as 'kd' trees. The distance is computed using the L2 (Euclidean) + metric. Please see package 'RANN.L1' for the same functionality using the + L1 (Manhattan, taxicab) metric.""" + + homepage = "https://github.com/jefferis/RANN" + url = "https://cloud.r-project.org/src/contrib/RANN_2.6.1.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/RANN" + + version('2.6.1', sha256='b299c3dfb7be17aa41e66eff5674fddd2992fb6dd3b10bc59ffbf0c401697182') |