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

EAPI=7

inherit R-packages

DESCRIPTION='Query MongoDB Documents with R'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/mongopipe_0.1.1.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_nycflights13 r_suggests_testthat"
R_SUGGESTS="
	r_suggests_nycflights13? ( sci-CRAN/nycflights13 )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.0.0 )
"
DEPEND="sci-CRAN/magrittr
	sci-CRAN/jsonlite
	sci-CRAN/rlang
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"

_UNRESOLVED_PACKAGES=( '>=sci-CRAN/mongolite-2.2.0' )