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

EAPI=8

inherit R-packages

DESCRIPTION='Machine Learning Model Explainer'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/explainer_1.0.1.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_broom r_suggests_cowplot r_suggests_forcats
	r_suggests_iml r_suggests_knitr r_suggests_mlbench r_suggests_mlr3
	r_suggests_mlr3learners r_suggests_mlr3viz r_suggests_plotroc
	r_suggests_precrec r_suggests_psych r_suggests_ranger
	r_suggests_remotes r_suggests_reshape2"
R_SUGGESTS="
	r_suggests_broom? ( sci-CRAN/broom )
	r_suggests_cowplot? ( sci-CRAN/cowplot )
	r_suggests_forcats? ( sci-CRAN/forcats )
	r_suggests_iml? ( sci-CRAN/iml )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_mlbench? ( sci-CRAN/mlbench )
	r_suggests_mlr3? ( sci-CRAN/mlr3 )
	r_suggests_mlr3learners? ( sci-CRAN/mlr3learners )
	r_suggests_mlr3viz? ( sci-CRAN/mlr3viz )
	r_suggests_plotroc? ( sci-CRAN/plotROC )
	r_suggests_precrec? ( sci-CRAN/precrec )
	r_suggests_psych? ( sci-CRAN/psych )
	r_suggests_ranger? ( sci-CRAN/ranger )
	r_suggests_remotes? ( sci-CRAN/remotes )
	r_suggests_reshape2? ( sci-CRAN/reshape2 )
"
DEPEND="sci-CRAN/tibble
	sci-CRAN/tidyr
	sci-CRAN/ggplot2
	sci-CRAN/cvms
	sci-CRAN/data_table
	sci-CRAN/dplyr
	sci-CRAN/egg
	sci-CRAN/ggpmisc
	sci-CRAN/ggpubr
	sci-CRAN/magrittr
	sci-CRAN/plotly
	sci-CRAN/writexl
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"