summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2014-09-19 21:03:26 +0000
committerbrook <brook@pkgsrc.org>2014-09-19 21:03:26 +0000
commit1c385106c1328ed16d0dd5c46f4081554de2b67d (patch)
tree2a330135b87aa6873ebb0f1dbb10502d974ffb9e /textproc
parent54ec97a4029ffb143d79a619a26b1dbfa88c6c42 (diff)
downloadpkgsrc-1c385106c1328ed16d0dd5c46f4081554de2b67d.tar.gz
Initial import of stringr v0.6.2 as textproc/R-stringr.
stringr is a set of simple wrappers that make R's string functions more consistent, simpler and easier to use. It does this by ensuring that: function and argument names (and positions) are consistent, all functions deal with NA's and zero length character appropriately, and the output data structures from each function matches the input data structures of other functions. Note: this commit is part of reorganizing some of the recently imported R packages, which are being reimported into more appropriate categories (and removed from math) as a result of a recent discussion on tech-pkg and privately with wiz@. See the thread starting with: http://mail-index.netbsd.org/tech-pkg/2014/09/05/msg013558.html
Diffstat (limited to 'textproc')
-rw-r--r--textproc/R-stringr/DESCR6
-rw-r--r--textproc/R-stringr/Makefile15
-rw-r--r--textproc/R-stringr/distinfo5
3 files changed, 26 insertions, 0 deletions
diff --git a/textproc/R-stringr/DESCR b/textproc/R-stringr/DESCR
new file mode 100644
index 00000000000..64e96d29433
--- /dev/null
+++ b/textproc/R-stringr/DESCR
@@ -0,0 +1,6 @@
+stringr is a set of simple wrappers that make R's string functions
+more consistent, simpler and easier to use. It does this by ensuring
+that: function and argument names (and positions) are consistent, all
+functions deal with NA's and zero length character appropriately, and
+the output data structures from each function matches the input data
+structures of other functions.
diff --git a/textproc/R-stringr/Makefile b/textproc/R-stringr/Makefile
new file mode 100644
index 00000000000..612b2aa0897
--- /dev/null
+++ b/textproc/R-stringr/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2014/09/19 21:03:26 brook Exp $
+
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= ${R_HOMEPAGE_BASE}/stringr/
+COMMENT= Make it easier to work with strings.
+LICENSE= gnu-gpl-v2
+
+R_PKGNAME= stringr
+R_PKGVER= 0.6.2
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/R-stringr/distinfo b/textproc/R-stringr/distinfo
new file mode 100644
index 00000000000..b01a803142c
--- /dev/null
+++ b/textproc/R-stringr/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/09/19 21:03:26 brook Exp $
+
+SHA1 (R/stringr_0.6.2.tar.gz) = 6b41bcf589412a9b48ee6357508e35ccbbd77d01
+RMD160 (R/stringr_0.6.2.tar.gz) = 055a34d2a938c2af55374a98f20c700d4b7c5843
+Size (R/stringr_0.6.2.tar.gz) = 20636 bytes