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

EAPI=8

inherit R-packages

DESCRIPTION='Expected Value of Information'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/voi_1.0.2.tar.gz"
LICENSE='GPL-3'

IUSE="${IUSE-} r_suggests_bcea r_suggests_dplyr r_suggests_heemod
	r_suggests_knitr r_suggests_rjags r_suggests_rmarkdown
	r_suggests_scales r_suggests_sf r_suggests_splancs
	r_suggests_testthat r_suggests_truncnorm"
R_SUGGESTS="
	r_suggests_bcea? ( sci-CRAN/BCEA )
	r_suggests_dplyr? ( sci-CRAN/dplyr )
	r_suggests_heemod? ( sci-CRAN/heemod )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_rjags? ( sci-CRAN/rjags )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_scales? ( sci-CRAN/scales )
	r_suggests_sf? ( sci-CRAN/sf )
	r_suggests_splancs? ( sci-CRAN/splancs )
	r_suggests_testthat? ( sci-CRAN/testthat )
	r_suggests_truncnorm? ( sci-CRAN/truncnorm )
"
DEPEND="sci-CRAN/progress
	sci-CRAN/ggplot2
	virtual/mgcv
	sci-CRAN/mvtnorm
	>=dev-lang/R-3.5.0
	sci-CRAN/earth
	sci-CRAN/dbarts
	sci-CRAN/posterior
	sci-CRAN/gridExtra
	virtual/Matrix
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"

_UNRESOLVED_PACKAGES=( 'INLA' )