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

EAPI=8

inherit R-packages

DESCRIPTION='Accelerating ggplot2'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/ggforce_0.4.2.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_concaveman r_suggests_covr r_suggests_deldir
	r_suggests_latex2exp r_suggests_reshape2 r_suggests_sessioninfo
	r_suggests_units"
R_SUGGESTS="
	r_suggests_concaveman? ( sci-CRAN/concaveman )
	r_suggests_covr? ( sci-CRAN/covr )
	r_suggests_deldir? ( sci-CRAN/deldir )
	r_suggests_latex2exp? ( sci-CRAN/latex2exp )
	r_suggests_reshape2? ( sci-CRAN/reshape2 )
	r_suggests_sessioninfo? ( sci-CRAN/sessioninfo )
	r_suggests_units? ( >=sci-CRAN/units-0.4.6 )
"
DEPEND="sci-CRAN/polyclip
	>=sci-CRAN/ggplot2-3.3.6
	virtual/MASS
	sci-CRAN/withr
	sci-CRAN/lifecycle
	sci-CRAN/cli
	>=dev-lang/R-3.3.0
	sci-CRAN/scales
	>=sci-CRAN/tweenr-0.1.5
	sci-CRAN/gtable
	>=sci-CRAN/Rcpp-0.12.2
	sci-CRAN/tidyselect
	sci-CRAN/vctrs
	sci-CRAN/rlang
	sci-CRAN/systemfonts
"
RDEPEND="${DEPEND-}
	sci-CRAN/Rcpp
	sci-CRAN/RcppEigen
	${R_SUGGESTS-}
"