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

EAPI=8

inherit R-packages

DESCRIPTION='A General-Purpose Package for Dy... (see metadata)'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/knitr_1.45.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_bslib r_suggests_codetools r_suggests_curl
	r_suggests_dbi r_suggests_digest r_suggests_formatr
	r_suggests_gridsvg r_suggests_htmlwidgets r_suggests_jpeg
	r_suggests_magick r_suggests_markdown r_suggests_png r_suggests_ragg
	r_suggests_reticulate r_suggests_rgl r_suggests_rlang
	r_suggests_rmarkdown r_suggests_rstudioapi r_suggests_sass
	r_suggests_showtext r_suggests_styler r_suggests_svglite
	r_suggests_targets r_suggests_testit r_suggests_tibble
	r_suggests_tikzdevice r_suggests_tinytex r_suggests_xml2"
R_SUGGESTS="
	r_suggests_bslib? ( sci-CRAN/bslib )
	r_suggests_codetools? ( virtual/codetools )
	r_suggests_curl? ( sci-CRAN/curl )
	r_suggests_dbi? ( >=sci-CRAN/DBI-0.4.1 )
	r_suggests_digest? ( sci-CRAN/digest )
	r_suggests_formatr? ( sci-CRAN/formatR )
	r_suggests_gridsvg? ( sci-CRAN/gridSVG )
	r_suggests_htmlwidgets? ( >=sci-CRAN/htmlwidgets-0.7 )
	r_suggests_jpeg? ( sci-CRAN/jpeg )
	r_suggests_magick? ( sci-CRAN/magick )
	r_suggests_markdown? ( >=sci-CRAN/markdown-1.3 )
	r_suggests_png? ( sci-CRAN/png )
	r_suggests_ragg? ( sci-CRAN/ragg )
	r_suggests_reticulate? ( >=sci-CRAN/reticulate-1.4 )
	r_suggests_rgl? ( >=sci-CRAN/rgl-0.95.1201 )
	r_suggests_rlang? ( sci-CRAN/rlang )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_rstudioapi? ( sci-CRAN/rstudioapi )
	r_suggests_sass? ( sci-CRAN/sass )
	r_suggests_showtext? ( sci-CRAN/showtext )
	r_suggests_styler? ( >=sci-CRAN/styler-1.2.0 )
	r_suggests_svglite? ( sci-CRAN/svglite )
	r_suggests_targets? ( >=sci-CRAN/targets-0.6.0 )
	r_suggests_testit? ( sci-CRAN/testit )
	r_suggests_tibble? ( sci-CRAN/tibble )
	r_suggests_tikzdevice? ( >=sci-CRAN/tikzDevice-0.10 )
	r_suggests_tinytex? ( >=sci-CRAN/tinytex-0.46 )
	r_suggests_xml2? ( >=sci-CRAN/xml2-1.2.0 )
"
DEPEND=">=sci-CRAN/evaluate-0.15
	>=sci-CRAN/yaml-2.1.19
	>=dev-lang/R-3.3.0
	>=sci-CRAN/xfun-0.39
	sci-CRAN/highr
"
RDEPEND="${DEPEND-}
	app-text/pandoc
	${R_SUGGESTS-}
"

_UNRESOLVED_PACKAGES=(
	'>=sci-CRAN/JuliaCall-0.11.1'
	'sci-CRAN/gifski'
	'sci-CRAN/webshot'
)