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

EAPI=8

inherit R-packages

DESCRIPTION='Machine Learning in R - Next Generation'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/mlr3_0.20.2.tar.gz"
LICENSE='LGPL-3'

IUSE="${IUSE-} r_suggests_callr r_suggests_codetools r_suggests_future_callr
	r_suggests_matrix r_suggests_mlr3data r_suggests_progressr
	r_suggests_remotes r_suggests_rhpcblasctl r_suggests_rpart
	r_suggests_testthat"
R_SUGGESTS="
	r_suggests_callr? ( sci-CRAN/callr )
	r_suggests_codetools? ( virtual/codetools )
	r_suggests_future_callr? ( sci-CRAN/future_callr )
	r_suggests_matrix? ( virtual/Matrix )
	r_suggests_mlr3data? ( sci-CRAN/mlr3data )
	r_suggests_progressr? ( sci-CRAN/progressr )
	r_suggests_remotes? ( sci-CRAN/remotes )
	r_suggests_rhpcblasctl? ( sci-CRAN/RhpcBLASctl )
	r_suggests_rpart? ( virtual/rpart )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.1.0 )
"
DEPEND="sci-CRAN/future
	>=sci-CRAN/mlr3misc-0.15.0
	>=sci-CRAN/lgr-0.3.4
	>=sci-CRAN/mlr3measures-0.6.0
	sci-CRAN/parallelly
	sci-CRAN/uuid
	sci-CRAN/palmerpenguins
	>=dev-lang/R-3.1.0
	>=sci-CRAN/paradox-1.0.1
	>=sci-CRAN/R6-2.4.1
	sci-CRAN/backports
	>=sci-CRAN/data_table-1.15.0
	>=sci-CRAN/checkmate-2.0.0
	sci-CRAN/evaluate
	sci-CRAN/mlbench
	>=sci-CRAN/future_apply-1.5.0
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"