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

EAPI=7

inherit R-packages

DESCRIPTION='Development Utilities for R Packages'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/pkgmaker_0.32.10.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_biobase r_suggests_devtools r_suggests_knitr
	r_suggests_markdown r_suggests_rbibutils r_suggests_rmarkdown
	r_suggests_roxygen2 r_suggests_runit r_suggests_testthat
	r_suggests_yaml"
R_SUGGESTS="
	r_suggests_biobase? ( sci-BIOC/Biobase )
	r_suggests_devtools? ( >=sci-CRAN/devtools-0.8 )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_markdown? ( >=sci-CRAN/markdown-1.3 )
	r_suggests_rbibutils? ( >=sci-CRAN/rbibutils-1.3 )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_roxygen2? ( sci-CRAN/roxygen2 )
	r_suggests_runit? ( sci-CRAN/RUnit )
	r_suggests_testthat? ( sci-CRAN/testthat )
	r_suggests_yaml? ( sci-CRAN/yaml )
"
DEPEND=">=dev-lang/R-3.0.0
	sci-CRAN/digest
	sci-CRAN/xtable
	sci-CRAN/stringr
	sci-CRAN/withr
	sci-CRAN/assertthat
	sci-CRAN/registry
	virtual/codetools
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"