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

EAPI=7

inherit R-packages

DESCRIPTION='Lightweight Interface to the Alpha Vantage API'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/alphavantager_0.1.3.tar.gz"
LICENSE='GPL-3+'

IUSE="${IUSE-} r_suggests_knitr r_suggests_testthat"
R_SUGGESTS="
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_testthat? ( sci-CRAN/testthat )
"
DEPEND=">=sci-CRAN/httr-1.2.1
	>=sci-CRAN/timetk-0.1.1.1
	>=sci-CRAN/jsonlite-1.5
	>=sci-CRAN/stringr-1.2.0
	>=dev-lang/R-3.3.0
	>=sci-CRAN/dplyr-0.7.0
	>=sci-CRAN/glue-1.1.1
	>=sci-CRAN/purrr-0.2.2.2
	>=sci-CRAN/readr-1.1.1
	>=sci-CRAN/tibble-1.3.3
	>=sci-CRAN/tidyr-0.6.3
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"