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

EAPI=7

inherit R-packages

DESCRIPTION='Fetch Data from National Stock Exchange (India)'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/nse2r_0.1.6.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_covr r_suggests_dt r_suggests_httptest
	r_suggests_shiny r_suggests_shinybs r_suggests_shinycssloaders
	r_suggests_shinythemes r_suggests_testthat"
R_SUGGESTS="
	r_suggests_covr? ( sci-CRAN/covr )
	r_suggests_dt? ( sci-CRAN/DT )
	r_suggests_httptest? ( sci-CRAN/httptest )
	r_suggests_shiny? ( sci-CRAN/shiny )
	r_suggests_shinybs? ( sci-CRAN/shinyBS )
	r_suggests_shinycssloaders? ( sci-CRAN/shinycssloaders )
	r_suggests_shinythemes? ( sci-CRAN/shinythemes )
	r_suggests_testthat? ( >=sci-CRAN/testthat-2.1.0 )
"
DEPEND=">=dev-lang/R-3.3
	sci-CRAN/magrittr
	sci-CRAN/jsonlite
	sci-CRAN/yahoofinancer
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"