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

EAPI=8

inherit R-packages

DESCRIPTION='Tutorials for R for Data Science'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/r4ds.tutorials_0.3.0.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_babynames r_suggests_dbplyr r_suggests_dplyr
	r_suggests_duckdb r_suggests_gert r_suggests_gghighlight
	r_suggests_ggrepel r_suggests_ggridges r_suggests_ggthemes
	r_suggests_gitcreds r_suggests_hexbin r_suggests_janitor
	r_suggests_lahman r_suggests_learnr r_suggests_maps
	r_suggests_nycflights13 r_suggests_palmerpenguins
	r_suggests_patchwork r_suggests_readxl r_suggests_reprex
	r_suggests_repurrrsive r_suggests_rsconnect r_suggests_rvest
	r_suggests_testthat r_suggests_tidymodels r_suggests_tidyverse
	r_suggests_usethis r_suggests_writexl"
R_SUGGESTS="
	r_suggests_babynames? ( sci-CRAN/babynames )
	r_suggests_dbplyr? ( sci-CRAN/dbplyr )
	r_suggests_dplyr? ( sci-CRAN/dplyr )
	r_suggests_duckdb? ( sci-CRAN/duckdb )
	r_suggests_gert? ( sci-CRAN/gert )
	r_suggests_gghighlight? ( sci-CRAN/gghighlight )
	r_suggests_ggrepel? ( sci-CRAN/ggrepel )
	r_suggests_ggridges? ( sci-CRAN/ggridges )
	r_suggests_ggthemes? ( sci-CRAN/ggthemes )
	r_suggests_gitcreds? ( sci-CRAN/gitcreds )
	r_suggests_hexbin? ( sci-CRAN/hexbin )
	r_suggests_janitor? ( sci-CRAN/janitor )
	r_suggests_lahman? ( sci-CRAN/Lahman )
	r_suggests_learnr? ( sci-CRAN/learnr )
	r_suggests_maps? ( sci-CRAN/maps )
	r_suggests_nycflights13? ( sci-CRAN/nycflights13 )
	r_suggests_palmerpenguins? ( sci-CRAN/palmerpenguins )
	r_suggests_patchwork? ( sci-CRAN/patchwork )
	r_suggests_readxl? ( sci-CRAN/readxl )
	r_suggests_reprex? ( sci-CRAN/reprex )
	r_suggests_repurrrsive? ( sci-CRAN/repurrrsive )
	r_suggests_rsconnect? ( sci-CRAN/rsconnect )
	r_suggests_rvest? ( sci-CRAN/rvest )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.0.0 )
	r_suggests_tidymodels? ( sci-CRAN/tidymodels )
	r_suggests_tidyverse? ( sci-CRAN/tidyverse )
	r_suggests_usethis? ( sci-CRAN/usethis )
	r_suggests_writexl? ( sci-CRAN/writexl )
"
DEPEND=">=sci-CRAN/tutorial_helpers-0.3.0"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"

_UNRESOLVED_PACKAGES=(
	'arrow'
	'sci-CRAN/quarto'
)