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

EAPI=7

inherit R-packages

DESCRIPTION='Apply Mapping Functions in Parallel using Futures'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/furrr_0.3.1.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_carrier r_suggests_covr r_suggests_dplyr
	r_suggests_knitr r_suggests_listenv r_suggests_magrittr
	r_suggests_rmarkdown r_suggests_testthat r_suggests_tidyselect
	r_suggests_withr"
R_SUGGESTS="
	r_suggests_carrier? ( sci-CRAN/carrier )
	r_suggests_covr? ( sci-CRAN/covr )
	r_suggests_dplyr? ( >=sci-CRAN/dplyr-0.7.4 )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_listenv? ( >=sci-CRAN/listenv-0.6.0 )
	r_suggests_magrittr? ( sci-CRAN/magrittr )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.0.0 )
	r_suggests_tidyselect? ( sci-CRAN/tidyselect )
	r_suggests_withr? ( sci-CRAN/withr )
"
DEPEND=">=sci-CRAN/lifecycle-1.0.1
	>=sci-CRAN/vctrs-0.4.1
	>=sci-CRAN/future-1.25.0
	>=dev-lang/R-3.4.0
	>=sci-CRAN/purrr-0.3.4
	>=sci-CRAN/globals-0.14.0
	>=sci-CRAN/rlang-1.0.2
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"