# Copyright 1999-2021 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit R-packages

DESCRIPTION='Tidy Messy Data'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/tidyr_1.1.3.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_covr r_suggests_data_table r_suggests_jsonlite
	r_suggests_knitr r_suggests_readr r_suggests_repurrrsive
	r_suggests_rmarkdown r_suggests_testthat"
R_SUGGESTS="
	r_suggests_covr? ( sci-CRAN/covr )
	r_suggests_data_table? ( sci-CRAN/data_table )
	r_suggests_jsonlite? ( sci-CRAN/jsonlite )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_readr? ( sci-CRAN/readr )
	r_suggests_repurrrsive? ( >=sci-CRAN/repurrrsive-1.0.0 )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.0.0 )
"
DEPEND=">=dev-lang/R-3.1
	sci-CRAN/purrr
	sci-CRAN/glue
	sci-CRAN/magrittr
	>=sci-CRAN/ellipsis-0.1.0
	>=sci-CRAN/tibble-2.1.1
	>=sci-CRAN/tidyselect-1.1.0
	sci-CRAN/lifecycle
	>=sci-CRAN/dplyr-0.8.2
	sci-CRAN/rlang
	>=sci-CRAN/vctrs-0.3.6
"
RDEPEND="${DEPEND-}
	>=sci-CRAN/cpp11-0.2.6
	${R_SUGGESTS-}
"