aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Greener <me@r0bert.dev>2022-07-02 18:13:17 +0100
committerRobert Greener <me@r0bert.dev>2022-07-02 18:13:17 +0100
commitb3181e4d5ca82af460f9516d823c419fcb4b3181 (patch)
tree0ea4a14a56a2e9e8fe19a1877e2f3bc18b42f5cc /dev-R/forcats
parentdev-R/rvest: new package, add 1.0.2 (diff)
downloadguru-b3181e4d5ca82af460f9516d823c419fcb4b3181.tar.gz
guru-b3181e4d5ca82af460f9516d823c419fcb4b3181.tar.bz2
guru-b3181e4d5ca82af460f9516d823c419fcb4b3181.zip
dev-R/forcats: new package, add 0.5.1
Signed-off-by: Robert Greener <me@r0bert.dev>
Diffstat (limited to 'dev-R/forcats')
-rw-r--r--dev-R/forcats/Manifest1
-rw-r--r--dev-R/forcats/forcats-0.5.1.ebuild37
-rw-r--r--dev-R/forcats/metadata.xml17
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-R/forcats/Manifest b/dev-R/forcats/Manifest
new file mode 100644
index 000000000..1d1979e1e
--- /dev/null
+++ b/dev-R/forcats/Manifest
@@ -0,0 +1 @@
+DIST forcats_0.5.1.tar.gz 258301 BLAKE2B e8618bcf9846e2f43e5c61d655014ab66488d2ea14d06482191bf0ef1aa647a242845e596a8875ec3c83f74d5ae6b3ed0a4cbe0782735137ef609c8b148bc5d9 SHA512 44b3e90e764afe4a2a7339e72a8c01c053ba972611a194d7d278a4bb7c4959b0a514a0ac1f2c41a82219060e699e961b079c1edceac52fa1d42e53e7c2d15b97
diff --git a/dev-R/forcats/forcats-0.5.1.ebuild b/dev-R/forcats/forcats-0.5.1.ebuild
new file mode 100644
index 000000000..940baa975
--- /dev/null
+++ b/dev-R/forcats/forcats-0.5.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit R-packages edo
+
+DESCRIPTION='Tools for Working with Categorical Variables (Factors)'
+KEYWORDS="~amd64"
+LICENSE='MIT'
+RESTRICT="!test? ( test )"
+IUSE="test"
+
+DEPEND="
+ dev-R/ellipsis
+ dev-R/magrittr
+ dev-R/rlang
+ dev-R/tibble
+ test? (
+ dev-R/testthat
+ )
+"
+
+SUGGESTED_PACKAGES="
+ dev-R/covr
+ dev-R/dplyr
+ dev-R/ggplot2
+ dev-R/knitr
+ dev-R/readr
+ dev-R/rmarkdown
+ dev-R/testthat
+"
+
+src_test() {
+ cd "${WORKDIR}/${P}/tests"
+ NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
+}
diff --git a/dev-R/forcats/metadata.xml b/dev-R/forcats/metadata.xml
new file mode 100644
index 000000000..ed1fc949e
--- /dev/null
+++ b/dev-R/forcats/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>me@r0bert.dev</email>
+ <name>Robert Greener</name>
+ </maintainer>
+ <longdescription lang="en">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').</longdescription>
+ <upstream>
+ <maintainer>
+ <name>Hadley Wickham</name>
+ <email>hadley@rstudio.com</email>
+ </maintainer>
+ <bugs-to>https://github.com/tidyverse/forcats/issues</bugs-to>
+ <remote-id type="github">tidyverse/forcats</remote-id>
+ </upstream>
+</pkgmetadata>