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

EAPI=7

inherit R-packages

DESCRIPTION='Stochastic Mortality Modelling'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/StMoMo_0.4.1.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_demography r_suggests_knitr r_suggests_mts
	r_suggests_xtable"
R_SUGGESTS="
	r_suggests_demography? ( sci-CRAN/demography )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_mts? ( sci-CRAN/MTS )
	r_suggests_xtable? ( sci-CRAN/xtable )
"
DEPEND=">=dev-lang/R-3.2.0
	>=sci-CRAN/gnm-1.0
	>=sci-CRAN/fanplot-3.4
	>=sci-CRAN/forecast-6.1
	>=sci-CRAN/rootSolve-1.6.5.1
	>=sci-CRAN/fields-8.2
	sci-CRAN/RColorBrewer
	virtual/MASS
	>=sci-CRAN/reshape2-1.4.1
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"