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

EAPI=7

inherit R-packages

DESCRIPTION='Bayesian Fractional Polynomials for GLMs'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/glmBfp_0.0-60.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_mass"
R_SUGGESTS="r_suggests_mass? ( virtual/MASS )"
DEPEND="sci-CRAN/rms
	>=sci-CRAN/Rcpp-0.11.6
	sci-CRAN/statmod
	>=dev-lang/R-2.12.0
	virtual/survival
	sci-CRAN/coda
	>=sci-CRAN/Runuran-0.12
"
RDEPEND="${DEPEND-}
	sci-CRAN/Rcpp
	sci-CRAN/RcppArmadillo
	${R_SUGGESTS-}
"