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

EAPI=8

inherit R-packages

DESCRIPTION='R Wrapper for the Bit.ly and Is.... (see metadata)'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/urlshorteneR_1.5.7.tar.gz"
LICENSE='Apache-2.0'

IUSE="${IUSE-} r_suggests_covr r_suggests_httpuv r_suggests_knitr
	r_suggests_lintr r_suggests_rmarkdown r_suggests_roxygen2
	r_suggests_stringi r_suggests_testthat"
R_SUGGESTS="
	r_suggests_covr? ( >=sci-CRAN/covr-3.5.1 )
	r_suggests_httpuv? ( >=sci-CRAN/httpuv-1.6.5 )
	r_suggests_knitr? ( >=sci-CRAN/knitr-1.39 )
	r_suggests_lintr? ( >=sci-CRAN/lintr-3.0.0 )
	r_suggests_rmarkdown? ( >=sci-CRAN/rmarkdown-2.14 )
	r_suggests_roxygen2? ( >=sci-CRAN/roxygen2-7.2.1 )
	r_suggests_stringi? ( >=sci-CRAN/stringi-1.7.8 )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.1.4 )
"
DEPEND=">=dev-lang/R-4.0
	>=sci-CRAN/httr-1.4.3
	>=sci-CRAN/jsonlite-1.8.0
	>=sci-CRAN/stringr-1.4.0
	>=sci-CRAN/lubridate-1.8.0
	>=sci-CRAN/assertthat-0.2.1
	>=sci-CRAN/shiny-1.7.2
	>=sci-CRAN/clipr-0.8.0
	>=sci-CRAN/miniUI-0.1.1.1
	>=sci-CRAN/cli-3.3.0
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"