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

EAPI=7

inherit R-packages

DESCRIPTION='Construct Reproducible Analytic ... (see metadata)'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/DataPackageR_0.15.8.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_covr r_suggests_data_tree r_suggests_spelling
	r_suggests_testthat"
R_SUGGESTS="
	r_suggests_covr? ( sci-CRAN/covr )
	r_suggests_data_tree? ( sci-CRAN/data_tree )
	r_suggests_spelling? ( sci-CRAN/spelling )
	r_suggests_testthat? ( sci-CRAN/testthat )
"
DEPEND=">=dev-lang/R-3.5.0
	sci-CRAN/desc
	sci-CRAN/digest
	sci-CRAN/rmarkdown
	sci-CRAN/knitr
	sci-CRAN/yaml
	sci-CRAN/purrr
	>=sci-CRAN/roxygen2-6.0.1
	>=sci-CRAN/devtools-1.12.0
	sci-CRAN/futile_logger
	sci-CRAN/rprojroot
	sci-CRAN/usethis
	sci-CRAN/crayon
	sci-CRAN/assertthat
	sci-CRAN/stringr
"
RDEPEND="${DEPEND-}
	app-text/pandoc
	${R_SUGGESTS-}
"