pkgsrc-WIP-changes archive

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

R-triebeard: Import R package triebeard-0.3.0 as wip/R-triebeard



Module Name:	pkgsrc-wip
Committed By:	Brook Milligan <brook%nmsu.edu@localhost>
Pushed By:	brook
Date:		Wed Sep 8 13:16:49 2021 -0600
Changeset:	5b6b5ba4b04b9e1ee4dc5f163562e8e6555db912

Modified Files:
	Makefile
Added Files:
	R-triebeard/DESCR
	R-triebeard/Makefile
	R-triebeard/distinfo

Log Message:
R-triebeard: Import R package triebeard-0.3.0 as wip/R-triebeard

Fast key-value matching in R and Rcpp

Tries, or [radix trees](https://en.wikipedia.org/wiki/Radix_tree), are
key-value data structures optimised for very, very fast matching of
the keys against user-provided data (and then the return of the
associated values!)

This is pretty useful in data cleaning and value extraction, and tries
let you do it *really* efficiently. `triebeard` contains an
implementation that can be used both when writing R, and when writing
Rcpp (and imported and linked against, to boot). For more information
see:

1. The [vignette on Rcpp
   usage](https://cran.r-project.org/web/packages/triebeard/vignettes/rcpp_radix.html);

2. The [vignette on R
   usage](https://cran.r-project.org/web/packages/triebeard/vignettes/r_radix.html).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5b6b5ba4b04b9e1ee4dc5f163562e8e6555db912

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 R-triebeard/DESCR    |  4 ++++
 R-triebeard/Makefile | 15 +++++++++++++++
 R-triebeard/distinfo |  6 ++++++
 4 files changed, 26 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index ca41e9a664..36641913eb 100644
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,7 @@ SUBDIR+=	R-optparse
 SUBDIR+=	R-png
 SUBDIR+=	R-rgdal
 SUBDIR+=	R-signal
+SUBDIR+=	R-triebeard
 SUBDIR+=	R-tuneR
 SUBDIR+=	R-wk
 SUBDIR+=	Radicale3
diff --git a/R-triebeard/DESCR b/R-triebeard/DESCR
new file mode 100644
index 0000000000..3bd1adb5a9
--- /dev/null
+++ b/R-triebeard/DESCR
@@ -0,0 +1,4 @@
+'Radix trees', or 'tries', are key-value data structures optimised for
+efficient lookups, similar in purpose to hash tables. 'triebeard'
+provides an implementation of 'radix trees' for use in R programming
+and in developing packages with 'Rcpp'.
diff --git a/R-triebeard/Makefile b/R-triebeard/Makefile
new file mode 100644
index 0000000000..1033d85c84
--- /dev/null
+++ b/R-triebeard/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+R_PKGNAME=	triebeard
+R_PKGVER=	0.3.0
+CATEGORIES=	math
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+COMMENT=	Radix trees in Rcpp
+LICENSE=	mit
+
+USE_LANGUAGES=	c c++
+
+.include "../../math/R/Makefile.extension"
+.include "../../devel/R-Rcpp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/R-triebeard/distinfo b/R-triebeard/distinfo
new file mode 100644
index 0000000000..a1af1ba779
--- /dev/null
+++ b/R-triebeard/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (R/triebeard_0.3.0.tar.gz) = 4c43360840b13bdf2b2aa56ff264c26e9bcfafb6
+RMD160 (R/triebeard_0.3.0.tar.gz) = 3412bc25698313e12bf24f9dac6ce291ad1d32ae
+SHA512 (R/triebeard_0.3.0.tar.gz) = ecaecd2d66c43e103d9a7dad4059122593cf45636024bd611dc35c548bdfae0ea5731c72712db0cdd08b9621d5aa0209f0c109f022549e6a1caa961b3de0e84a
+Size (R/triebeard_0.3.0.tar.gz) = 27162 bytes


Home | Main Index | Thread Index | Old Index