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

EAPI=8

inherit R-packages

DESCRIPTION='Extension to ggplot2 for Plotting Stats'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/ggstats_0.5.0.tar.gz"
LICENSE='GPL-3+'

IUSE="${IUSE-} r_suggests_betareg r_suggests_broom r_suggests_emmeans
	r_suggests_glue r_suggests_knitr r_suggests_labelled r_suggests_nnet
	r_suggests_parameters r_suggests_pscl r_suggests_reshape
	r_suggests_rmarkdown r_suggests_spelling r_suggests_survey
	r_suggests_survival r_suggests_testthat r_suggests_vdiffr"
R_SUGGESTS="
	r_suggests_betareg? ( sci-CRAN/betareg )
	r_suggests_broom? ( sci-CRAN/broom )
	r_suggests_emmeans? ( sci-CRAN/emmeans )
	r_suggests_glue? ( sci-CRAN/glue )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_labelled? ( >=sci-CRAN/labelled-2.11.0 )
	r_suggests_nnet? ( virtual/nnet )
	r_suggests_parameters? ( sci-CRAN/parameters )
	r_suggests_pscl? ( sci-CRAN/pscl )
	r_suggests_reshape? ( sci-CRAN/reshape )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_spelling? ( sci-CRAN/spelling )
	r_suggests_survey? ( sci-CRAN/survey )
	r_suggests_survival? ( virtual/survival )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.0.0 )
	r_suggests_vdiffr? ( sci-CRAN/vdiffr )
"
DEPEND="sci-CRAN/stringr
	sci-CRAN/purrr
	sci-CRAN/rlang
	>=sci-CRAN/broom_helpers-1.14.0
	>=sci-CRAN/ggplot2-3.4.0
	sci-CRAN/tidyr
	sci-CRAN/scales
	sci-CRAN/forcats
	sci-CRAN/dplyr
	sci-CRAN/cli
	sci-CRAN/lifecycle
	sci-CRAN/magrittr
	sci-CRAN/patchwork
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"