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

EAPI=7

inherit R-packages

DESCRIPTION='Methods for Correlation Analysis'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/correlation_0.8.4.tar.gz"
LICENSE='GPL-3'

IUSE="${IUSE-} r_suggests_bayesfactor r_suggests_energy r_suggests_ggplot2
	r_suggests_ggraph r_suggests_gt r_suggests_hmisc r_suggests_knitr
	r_suggests_lme4 r_suggests_mass r_suggests_mbend r_suggests_polycor
	r_suggests_poorman r_suggests_ppcor r_suggests_psych
	r_suggests_rmarkdown r_suggests_rmcorr r_suggests_rstanarm
	r_suggests_see r_suggests_testthat r_suggests_tidygraph
	r_suggests_wdm r_suggests_wrs2"
R_SUGGESTS="
	r_suggests_bayesfactor? ( sci-CRAN/BayesFactor )
	r_suggests_energy? ( sci-CRAN/energy )
	r_suggests_ggplot2? ( sci-CRAN/ggplot2 )
	r_suggests_ggraph? ( sci-CRAN/ggraph )
	r_suggests_gt? ( sci-CRAN/gt )
	r_suggests_hmisc? ( sci-CRAN/Hmisc )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_lme4? ( sci-CRAN/lme4 )
	r_suggests_mass? ( virtual/MASS )
	r_suggests_mbend? ( sci-CRAN/mbend )
	r_suggests_polycor? ( sci-CRAN/polycor )
	r_suggests_poorman? ( sci-CRAN/poorman )
	r_suggests_ppcor? ( sci-CRAN/ppcor )
	r_suggests_psych? ( sci-CRAN/psych )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_rmcorr? ( sci-CRAN/rmcorr )
	r_suggests_rstanarm? ( sci-CRAN/rstanarm )
	r_suggests_see? ( >=sci-CRAN/see-0.7.5 )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.1.7 )
	r_suggests_tidygraph? ( sci-CRAN/tidygraph )
	r_suggests_wdm? ( sci-CRAN/wdm )
	r_suggests_wrs2? ( sci-CRAN/WRS2 )
"
DEPEND=">=dev-lang/R-3.6
	>=sci-CRAN/datawizard-0.7.0
	>=sci-CRAN/bayestestR-0.13.0
	>=sci-CRAN/insight-0.19.1
	>=sci-CRAN/parameters-0.20.2
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"