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

EAPI=7

inherit R-packages

DESCRIPTION='Tables of Descriptive Statistics in HTML'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/table1_1.4.3.tar.gz"
LICENSE='GPL-3'

IUSE="${IUSE-} r_suggests_boot r_suggests_flextable r_suggests_matchit
	r_suggests_printr r_suggests_rmarkdown"
R_SUGGESTS="
	r_suggests_boot? ( virtual/boot )
	r_suggests_flextable? ( sci-CRAN/flextable )
	r_suggests_matchit? ( sci-CRAN/MatchIt )
	r_suggests_printr? ( sci-CRAN/printr )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
"
DEPEND="sci-CRAN/knitr
	sci-CRAN/htmltools
	sci-CRAN/yaml
	sci-CRAN/Formula
	>=dev-lang/R-3.5.0
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"

_UNRESOLVED_PACKAGES=( 'sci-CRAN/kableExtra' )