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

EAPI=7

inherit R-packages

DESCRIPTION='Feature Selection for mlr3'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/mlr3fselect_0.5.1.tar.gz"
LICENSE='LGPL-3'

IUSE="${IUSE-} r_suggests_genalg r_suggests_rpart r_suggests_testthat"
R_SUGGESTS="
	r_suggests_genalg? ( sci-CRAN/genalg )
	r_suggests_rpart? ( virtual/rpart )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.0.0 )
"
DEPEND=">=dev-lang/R-3.1.0
	>=sci-CRAN/mlr3misc-0.7.0
	>=sci-CRAN/mlr3pipelines-0.3.0
	>=sci-CRAN/checkmate-2.0.0
	>=sci-CRAN/mlr3-0.7.0
	>=sci-CRAN/paradox-0.7.0
	sci-CRAN/R6
	sci-CRAN/lgr
	>=sci-CRAN/bbotk-0.3.0
	sci-CRAN/data_table
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"