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

EAPI=8

inherit R-packages

DESCRIPTION='Training Run Tools for TensorFlow'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/tfruns_1.5.3.tar.gz"
LICENSE='Apache-2.0'

IUSE="${IUSE-} r_suggests_here r_suggests_knitr r_suggests_rmarkdown
	r_suggests_testthat r_suggests_withr"
R_SUGGESTS="
	r_suggests_here? ( sci-CRAN/here )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_testthat? ( sci-CRAN/testthat )
	r_suggests_withr? ( sci-CRAN/withr )
"
DEPEND="sci-CRAN/reticulate
	sci-CRAN/yaml
	>=sci-CRAN/jsonlite-1.2
	>=dev-lang/R-3.1
	sci-CRAN/base64enc
	sci-CRAN/config
	sci-CRAN/magrittr
	sci-CRAN/whisker
	sci-CRAN/tidyselect
	sci-CRAN/rlang
	>=sci-CRAN/rstudioapi-0.7
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"