summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2019-07-31 13:19:37 +0000
committerbrook <brook@pkgsrc.org>2019-07-31 13:19:37 +0000
commit5fe7c17a71935fc14734f99256147c07fa8bf76e (patch)
treec3c9a0f4c82327c0b6915f8a93d2b65349d2ec5a /math
parent6f11d3cb6a7de162bd2b5de1c8c21d91cc5560cc (diff)
downloadpkgsrc-5fe7c17a71935fc14734f99256147c07fa8bf76e.tar.gz
R-forcats: initial commit.
Helpers for reordering factor levels (including moving specified levels to front, ordering by first appearance, reversing, and randomly shuffling), and tools for modifying factor levels (including collapsing rare levels into other, 'anonymising', and manually 'recoding').
Diffstat (limited to 'math')
-rw-r--r--math/Makefile3
-rw-r--r--math/R-forcats/DESCR5
-rw-r--r--math/R-forcats/Makefile21
-rw-r--r--math/R-forcats/distinfo6
4 files changed, 34 insertions, 1 deletions
diff --git a/math/Makefile b/math/Makefile
index f08f9bcbf6b..445ec848c4e 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.416 2019/07/31 13:17:00 brook Exp $
+# $NetBSD: Makefile,v 1.417 2019/07/31 13:19:37 brook Exp $
COMMENT= Mathematics
@@ -47,6 +47,7 @@ SUBDIR+= R-e1071
SUBDIR+= R-ellipsis
SUBDIR+= R-emdbook
SUBDIR+= R-estimability
+SUBDIR+= R-forcats
SUBDIR+= R-forecast
SUBDIR+= R-fracdiff
SUBDIR+= R-gdata
diff --git a/math/R-forcats/DESCR b/math/R-forcats/DESCR
new file mode 100644
index 00000000000..b3ca75cb3af
--- /dev/null
+++ b/math/R-forcats/DESCR
@@ -0,0 +1,5 @@
+Helpers for reordering factor levels (including moving specified
+levels to front, ordering by first appearance, reversing, and randomly
+shuffling), and tools for modifying factor levels (including
+collapsing rare levels into other, 'anonymising', and manually
+'recoding').
diff --git a/math/R-forcats/Makefile b/math/R-forcats/Makefile
new file mode 100644
index 00000000000..d662cc06a38
--- /dev/null
+++ b/math/R-forcats/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2019/07/31 13:19:38 brook Exp $
+
+CATEGORIES= math R
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= ${R_HOMEPAGE_BASE}/forcats/
+COMMENT= Tools for working with categorical variables (factors)
+LICENSE= gnu-gpl-v3
+
+R_PKGNAME= forcats
+R_PKGVER= 0.4.0
+
+DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr
+DEPENDS+= R-rlang>=0.4.0:../../devel/R-rlang
+DEPENDS+= R-ellipsis>=0.2.0.1:../../math/R-ellipsis
+DEPENDS+= R-tibble>=2.1.3:../../math/R-tibble
+
+USE_LANGUAGES= # none
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/R-forcats/distinfo b/math/R-forcats/distinfo
new file mode 100644
index 00000000000..7ca6b52edd3
--- /dev/null
+++ b/math/R-forcats/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/07/31 13:19:38 brook Exp $
+
+SHA1 (R/forcats_0.4.0.tar.gz) = 447d02be14e88804d8eabc164bc5662ea77af960
+RMD160 (R/forcats_0.4.0.tar.gz) = af9de0f515aa0ea1a096ff4d45dc65953a1242b2
+SHA512 (R/forcats_0.4.0.tar.gz) = 4b08c877a0e7bc635e13193ef710f1ccdd7f83d74a76c6c11b3ec48863bcceeb35082b623608068e18208b15b728b5ebe9af4104e8478ccfc7f04efa18255626
+Size (R/forcats_0.4.0.tar.gz) = 255097 bytes