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

EAPI=7

inherit R-packages

DESCRIPTION='Regularized Linear Models'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/mpath_0.4-2.23.tar.gz"
LICENSE='GPL-2'

IUSE="${IUSE-} r_suggests_e1071 r_suggests_gdata r_suggests_knitr
	r_suggests_r_rsp r_suggests_rmarkdown r_suggests_slam
	r_suggests_sparsem r_suggests_zic"
R_SUGGESTS="
	r_suggests_e1071? ( sci-CRAN/e1071 )
	r_suggests_gdata? ( sci-CRAN/gdata )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_r_rsp? ( sci-CRAN/R_rsp )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_slam? ( sci-CRAN/slam )
	r_suggests_sparsem? ( sci-CRAN/SparseM )
	r_suggests_zic? ( sci-CRAN/zic )
"
DEPEND=">=dev-lang/R-3.5.0
	sci-CRAN/pamr
	sci-CRAN/WeightSVM
	sci-CRAN/numDeriv
	sci-CRAN/doParallel
	sci-CRAN/glmnet
	virtual/MASS
	sci-CRAN/pscl
	sci-CRAN/foreach
	sci-CRAN/bst
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"