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

EAPI=8

inherit R-packages

DESCRIPTION='Cluster Analysis with Missing Va... (see metadata)'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/clusterMI_1.2.1.tar.gz"
LICENSE='|| ( GPL-2 GPL-3 )'

IUSE="${IUSE-} r_suggests_bookdown r_suggests_cluster r_suggests_clustrd
	r_suggests_knitr r_suggests_missmda r_suggests_rmarkdown
	r_suggests_stargazer r_suggests_vim"
R_SUGGESTS="
	r_suggests_bookdown? ( sci-CRAN/bookdown )
	r_suggests_cluster? ( virtual/cluster )
	r_suggests_clustrd? ( sci-CRAN/clustrd )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_missmda? ( sci-CRAN/missMDA )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_stargazer? ( sci-CRAN/stargazer )
	r_suggests_vim? ( sci-CRAN/VIM )
"
DEPEND="sci-CRAN/glmnet
	sci-CRAN/cat
	sci-CRAN/mclust
	sci-CRAN/withr
	sci-CRAN/mix
	sci-CRAN/e1071
	sci-CRAN/ggplot2
	sci-CRAN/Rcpp
	sci-CRAN/diceR
	sci-CRAN/Rfast
	sci-CRAN/mice
	sci-CRAN/fpc
	>=dev-lang/R-3.5.0
	virtual/cluster
	sci-CRAN/FactoMineR
	sci-CRAN/knockoff
	sci-CRAN/reshape2
	sci-CRAN/gridExtra
	sci-CRAN/NPBayesImputeCat
	sci-CRAN/micemd
"
RDEPEND="${DEPEND-}
	sci-CRAN/Rcpp
	sci-CRAN/RcppArmadillo
	${R_SUGGESTS-}
"