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

EAPI=8

inherit R-packages

DESCRIPTION='The jamovi Analyses'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/jmv_2.4.9.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_cardata r_suggests_exact2x2 r_suggests_knitr
	r_suggests_rmarkdown r_suggests_semplot r_suggests_testthat"
R_SUGGESTS="
	r_suggests_cardata? ( sci-CRAN/carData )
	r_suggests_exact2x2? ( sci-CRAN/exact2x2 )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_semplot? ( sci-CRAN/semPlot )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.1.5 )
"
DEPEND="sci-CRAN/R6
	sci-CRAN/mvnormtest
	sci-CRAN/lavaan
	sci-CRAN/GGally
	>=sci-CRAN/emmeans-1.4.2
	sci-CRAN/GPArotation
	sci-CRAN/ggrepel
	sci-CRAN/dplyr
	>=dev-lang/R-3.2
	sci-CRAN/vcd
	sci-CRAN/ROCR
	sci-CRAN/BayesFactor
	>=sci-CRAN/psych-1.7.5
	>=sci-CRAN/afex-0.28.0
	virtual/nnet
	virtual/MASS
	sci-CRAN/multcomp
	sci-CRAN/vcdExtra
	sci-CRAN/magrittr
	sci-CRAN/ggridges
	>=sci-CRAN/jmvcore-2.4.2
	>=sci-CRAN/car-3.0.0
	>=sci-CRAN/ggplot2-2.2.1
	sci-CRAN/PMCMR
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"