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

EAPI=8

inherit R-packages

DESCRIPTION='An Implementation of Grammar of ... (see metadata)'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/ggraph_2.2.0.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_covr r_suggests_deldir r_suggests_gganimate
	r_suggests_knitr r_suggests_network r_suggests_purrr
	r_suggests_rmarkdown r_suggests_seriation r_suggests_sf
	r_suggests_sfnetworks r_suggests_tibble"
R_SUGGESTS="
	r_suggests_covr? ( sci-CRAN/covr )
	r_suggests_deldir? ( sci-CRAN/deldir )
	r_suggests_gganimate? ( sci-CRAN/gganimate )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_network? ( sci-CRAN/network )
	r_suggests_purrr? ( sci-CRAN/purrr )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_seriation? ( sci-CRAN/seriation )
	r_suggests_sf? ( sci-CRAN/sf )
	r_suggests_sfnetworks? ( sci-CRAN/sfnetworks )
	r_suggests_tibble? ( sci-CRAN/tibble )
"
DEPEND="sci-CRAN/dplyr
	sci-CRAN/scales
	>=sci-CRAN/graphlayouts-1.1.0
	sci-CRAN/vctrs
	sci-CRAN/withr
	virtual/MASS
	sci-CRAN/viridis
	sci-CRAN/rlang
	>=sci-CRAN/ggplot2-3.5.0
	>=sci-CRAN/ggforce-0.3.1
	sci-CRAN/memoise
	sci-CRAN/ggrepel
	sci-CRAN/lifecycle
	sci-CRAN/cli
	sci-CRAN/tidygraph
	>=sci-CRAN/igraph-1.0.0
"
RDEPEND="${DEPEND-}
	sci-CRAN/cpp11
	${R_SUGGESTS-}
"