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

EAPI=7

inherit R-packages

DESCRIPTION='Interactive Visual and Numerical... (see metadata)'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/shinystan_2.6.0.tar.gz"
LICENSE='GPL-3+'

IUSE="${IUSE-} r_suggests_coda r_suggests_knitr r_suggests_posterior
	r_suggests_rmarkdown r_suggests_rsconnect r_suggests_rstanarm
	r_suggests_testthat"
R_SUGGESTS="
	r_suggests_coda? ( sci-CRAN/coda )
	r_suggests_knitr? ( >=sci-CRAN/knitr-1.9 )
	r_suggests_posterior? ( >=sci-CRAN/posterior-1.0.0 )
	r_suggests_rmarkdown? ( >=sci-CRAN/rmarkdown-0.8.1 )
	r_suggests_rsconnect? ( >=sci-CRAN/rsconnect-0.4.2 )
	r_suggests_rstanarm? ( >=sci-CRAN/rstanarm-2.17.4 )
	r_suggests_testthat? ( sci-CRAN/testthat )
"
DEPEND="sci-CRAN/gtools
	>=sci-CRAN/threejs-0.2.1
	>=sci-CRAN/markdown-0.7.4
	>=sci-CRAN/dygraphs-1.1.1.2
	>=sci-CRAN/shiny-1.0.3
	>=sci-CRAN/DT-0.2
	>=sci-CRAN/ggplot2-2.1.1
	>=sci-CRAN/xts-0.9.7
	>=sci-CRAN/rstan-2.17.1
	sci-CRAN/colourpicker
	sci-CRAN/xtable
	>=dev-lang/R-3.1.0
	>=sci-CRAN/bayesplot-1.5.0
	sci-CRAN/gridExtra
	sci-CRAN/reshape2
	>=sci-CRAN/shinyjs-0.6.0
	>=sci-CRAN/shinythemes-1.0.1
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"

_UNRESOLVED_PACKAGES=( 'cmdstanr (>= 0.4.0)' )