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

EAPI=8

inherit R-packages

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

IUSE="${IUSE-} r_suggests_covr r_suggests_data_table 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_knitr? ( sci-CRAN/knitr )
	r_suggests_readr? ( sci-CRAN/readr )
	r_suggests_repurrrsive? ( >=sci-CRAN/repurrrsive-1.1.0 )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.0.0 )
"
DEPEND=">=sci-CRAN/cli-3.4.1
	sci-CRAN/glue
	>=sci-CRAN/lifecycle-1.0.3
	>=sci-CRAN/tibble-2.1.1
	>=sci-CRAN/stringr-1.5.0
	>=dev-lang/R-3.6
	>=sci-CRAN/dplyr-1.0.10
	sci-CRAN/magrittr
	>=sci-CRAN/purrr-1.0.1
	>=sci-CRAN/rlang-1.1.1
	>=sci-CRAN/tidyselect-1.2.0
	>=sci-CRAN/vctrs-0.5.2
"
RDEPEND="${DEPEND-}
	>=sci-CRAN/cpp11-0.4.0
	${R_SUGGESTS-}
"