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

EAPI=7

inherit R-packages

DESCRIPTION='Interface for MicroStrategy REST API'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/mstrio_11.3.5.101.tar.gz"
LICENSE='Apache-2.0'

IUSE="${IUSE-} r_suggests_httptest r_suggests_knitr r_suggests_rmarkdown
	r_suggests_testthat"
R_SUGGESTS="
	r_suggests_httptest? ( sci-CRAN/httptest )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_testthat? ( sci-CRAN/testthat )
"
DEPEND=">=sci-CRAN/openssl-1.4.1
	sci-CRAN/data_table
	sci-CRAN/R6
	sci-CRAN/crul
	sci-CRAN/shinyjs
	>=dev-lang/R-3.6.0
	>=sci-CRAN/httr-1.4.1
	>=sci-CRAN/jsonlite-1.6
	sci-CRAN/markdown
	sci-CRAN/rstudioapi
	sci-CRAN/shiny
	>=sci-CRAN/vctrs-0.3.8
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"