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

EAPI=8

inherit R-packages

DESCRIPTION='Lua-Filters for R Markdown'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/rmdfiltr_0.1.5.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_bibtex r_suggests_dplyr r_suggests_ggplot2
	r_suggests_knitr r_suggests_spelling r_suggests_stringr
	r_suggests_testthat r_suggests_tibble"
R_SUGGESTS="
	r_suggests_bibtex? ( >=sci-CRAN/bibtex-0.5.1 )
	r_suggests_dplyr? ( >=sci-CRAN/dplyr-0.8.0.1 )
	r_suggests_ggplot2? ( >=sci-CRAN/ggplot2-3.0.0 )
	r_suggests_knitr? ( >=sci-CRAN/knitr-1.22 )
	r_suggests_spelling? ( >=sci-CRAN/spelling-2.1 )
	r_suggests_stringr? ( sci-CRAN/stringr )
	r_suggests_testthat? ( >=sci-CRAN/testthat-2.0.0 )
	r_suggests_tibble? ( >=sci-CRAN/tibble-2.1.1 )
"
DEPEND=">=sci-CRAN/assertthat-0.2.1
	>=sci-CRAN/rmarkdown-1.12
"
RDEPEND="${DEPEND-}
	app-text/pandoc
	${R_SUGGESTS-}
"