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

EAPI=8

inherit R-packages

DESCRIPTION='Supplementary Item Response Theory Models'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/sirt_4.0-32.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_coda r_suggests_igraph r_suggests_lavaan
	r_suggests_mass r_suggests_matrix r_suggests_miceadds
	r_suggests_minqa r_suggests_mirt r_suggests_mvtnorm r_suggests_nloptr
	r_suggests_optimx r_suggests_pbivnorm r_suggests_pbv r_suggests_psych
	r_suggests_sfsmisc r_suggests_sm r_suggests_survey"
R_SUGGESTS="
	r_suggests_coda? ( sci-CRAN/coda )
	r_suggests_igraph? ( sci-CRAN/igraph )
	r_suggests_lavaan? ( sci-CRAN/lavaan )
	r_suggests_mass? ( virtual/MASS )
	r_suggests_matrix? ( virtual/Matrix )
	r_suggests_miceadds? ( sci-CRAN/miceadds )
	r_suggests_minqa? ( sci-CRAN/minqa )
	r_suggests_mirt? ( sci-CRAN/mirt )
	r_suggests_mvtnorm? ( sci-CRAN/mvtnorm )
	r_suggests_nloptr? ( sci-CRAN/nloptr )
	r_suggests_optimx? ( sci-CRAN/optimx )
	r_suggests_pbivnorm? ( sci-CRAN/pbivnorm )
	r_suggests_pbv? ( sci-CRAN/pbv )
	r_suggests_psych? ( sci-CRAN/psych )
	r_suggests_sfsmisc? ( sci-CRAN/sfsmisc )
	r_suggests_sm? ( sci-CRAN/sm )
	r_suggests_survey? ( sci-CRAN/survey )
"
DEPEND=">=dev-lang/R-3.5
	sci-CRAN/CDM
	sci-CRAN/pbapply
	sci-CRAN/TAM
	sci-CRAN/Rcpp
"
RDEPEND="${DEPEND-}
	sci-CRAN/pbv
	sci-CRAN/Rcpp
	sci-CRAN/RcppArmadillo
	${R_SUGGESTS-}
"