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

EAPI=7

inherit R-packages

DESCRIPTION='Simulate IRT-Based Computerized Adaptive Tests'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/catIrt_0.5.1.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_catr r_suggests_irtoys r_suggests_ltm"
R_SUGGESTS="
	r_suggests_catr? ( sci-CRAN/catR )
	r_suggests_irtoys? ( sci-CRAN/irtoys )
	r_suggests_ltm? ( sci-CRAN/ltm )
"
DEPEND=">=dev-lang/R-2.11.0
	>=sci-CRAN/numDeriv-2012.3.1
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"