aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-07 11:27:16 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-07 12:26:31 +0100
commitbfa5662e38de7bd02c493e52796c05359a984c66 (patch)
tree9b2d9522f83332f6153fb47c9f5ddb1ad5092478 /gnu/packages/cran.scm
parent8243f4e55a9f87821370eb2198fa9b5c8eac6648 (diff)
downloadguix-bfa5662e38de7bd02c493e52796c05359a984c66.tar
guix-bfa5662e38de7bd02c493e52796c05359a984c66.tar.gz
gnu: Add r-rcppannoy.
* gnu/packages/cran.scm (r-rcppannoy): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8fed911360..43ff292cb2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -7253,3 +7253,30 @@ estimates from interaction terms in regressions (and multiply imputed
regressions). NOTE: Weighted partial correlation calculations pulled to
address a bug.")
(license license:gpl2+)))
+
+(define-public r-rcppannoy
+ (package
+ (name "r-rcppannoy")
+ (version "0.0.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "RcppAnnoy" version))
+ (sha256
+ (base32
+ "1ik50ancfgcvh03n4jsqwjk8lf056rbgd70q4l4didmvh5kcyjd1"))))
+ (properties `((upstream-name . "RcppAnnoy")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-rcpp" ,r-rcpp)))
+ (native-inputs
+ `(("r-knitr" ,r-knitr))) ; for vignettes
+ (home-page "https://cran.r-project.org/web/packages/RcppAnnoy/")
+ (synopsis "Rcpp bindings for Annoy, a library for Approximate Nearest Neighbors")
+ (description
+ "Annoy is a small C++ library for Approximate Nearest Neighbors written
+for efficient memory usage as well an ability to load from and save to disk.
+This package provides an R interface.")
+ ;; Annoy is released under ASL 2.0, but this wrapper is released under
+ ;; GPLv2+.
+ (license (list license:gpl2+ license:asl2.0))))