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

EAPI=8

inherit R-packages

DESCRIPTION='Ternary Plots for Trinomial Regression Models'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/plot3logit_3.1.4.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_knitr r_suggests_mass r_suggests_mlogit
	r_suggests_nnet r_suggests_ordinal r_suggests_rmarkdown
	r_suggests_testthat r_suggests_vgam"
R_SUGGESTS="
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_mass? ( virtual/MASS )
	r_suggests_mlogit? ( sci-CRAN/mlogit )
	r_suggests_nnet? ( virtual/nnet )
	r_suggests_ordinal? ( sci-CRAN/ordinal )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_testthat? ( sci-CRAN/testthat )
	r_suggests_vgam? ( sci-CRAN/VGAM )
"
DEPEND="sci-CRAN/ellipse
	sci-CRAN/generics
	sci-CRAN/lifecycle
	sci-CRAN/Rdpack
	sci-CRAN/tibble
	sci-CRAN/stringr
	sci-CRAN/forcats
	>=dev-lang/R-4.0
	>=sci-CRAN/ggplot2-3.4.0
	>=sci-CRAN/ggtern-3.4.0
	sci-CRAN/purrr
	sci-CRAN/tidyselect
	sci-CRAN/dplyr
	>=sci-CRAN/magrittr-1.5
	sci-CRAN/tidyr
	>=sci-CRAN/Ternary-1.0.1
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"