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

EAPI=8

inherit R-packages

DESCRIPTION='Connector Between mlr3 and OpenML'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/mlr3oml_0.10.0.tar.gz"
LICENSE='LGPL-3'

IUSE="${IUSE-} r_suggests_dbi r_suggests_duckdb r_suggests_httr
	r_suggests_mlr3db r_suggests_qs r_suggests_rweka r_suggests_testthat
	r_suggests_xml2"
R_SUGGESTS="
	r_suggests_dbi? ( sci-CRAN/DBI )
	r_suggests_duckdb? ( >=sci-CRAN/duckdb-0.6.0 )
	r_suggests_httr? ( sci-CRAN/httr )
	r_suggests_mlr3db? ( >=sci-CRAN/mlr3db-0.5.0 )
	r_suggests_qs? ( sci-CRAN/qs )
	r_suggests_rweka? ( sci-CRAN/RWeka )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.0.0 )
	r_suggests_xml2? ( sci-CRAN/xml2 )
"
DEPEND=">=sci-CRAN/mlr3-0.16.0
	>=sci-CRAN/mlr3misc-0.7.0
	>=dev-lang/R-3.1.0
	sci-CRAN/bit64
	sci-CRAN/curl
	sci-CRAN/paradox
	>=sci-CRAN/backports-1.1.6
	sci-CRAN/checkmate
	sci-CRAN/data_table
	sci-CRAN/jsonlite
	sci-CRAN/lgr
	sci-CRAN/stringi
	sci-CRAN/uuid
	sci-CRAN/withr
	sci-CRAN/R6
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"