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

EAPI=8

inherit R-packages

DESCRIPTION='Methods for Correlation Analysis'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/correlation_0.8.5.tar.gz"
LICENSE='MIT'

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_openxlsx2
	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_openxlsx2? ( sci-CRAN/openxlsx2 )
	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.8.1 )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.2.1 )
	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/parameters-0.21.7
	>=sci-CRAN/datawizard-0.11.0
	>=sci-CRAN/bayestestR-0.13.2
	>=sci-CRAN/insight-0.20.0
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"