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

EAPI=8

inherit R-packages

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

IUSE="${IUSE-} r_suggests_e1071 r_suggests_knitr r_suggests_openxlsx
	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_knitr? ( sci-CRAN/knitr )
	r_suggests_openxlsx? ( sci-CRAN/openxlsx )
	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/WeightSVM
	virtual/MASS
	sci-CRAN/numDeriv
	sci-CRAN/pamr
	sci-CRAN/glmnet
	sci-CRAN/pscl
	sci-CRAN/foreach
	sci-CRAN/doParallel
	sci-CRAN/bst
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"