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

EAPI=8

inherit R-packages

DESCRIPTION='Australian Tax Policy Analysis'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/grattan_2023.1.2.tar.gz"
LICENSE='GPL-2'

IUSE="${IUSE-} r_suggests_covr r_suggests_curl r_suggests_fst
	r_suggests_knitr r_suggests_rlang r_suggests_rmarkdown
	r_suggests_scales r_suggests_survey r_suggests_testthat
	r_suggests_tibble r_suggests_withr r_suggests_yaml"
R_SUGGESTS="
	r_suggests_covr? ( sci-CRAN/covr )
	r_suggests_curl? ( sci-CRAN/curl )
	r_suggests_fst? ( >=sci-CRAN/fst-0.8.4 )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_rlang? ( sci-CRAN/rlang )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_scales? ( sci-CRAN/scales )
	r_suggests_survey? ( sci-CRAN/survey )
	r_suggests_testthat? ( sci-CRAN/testthat )
	r_suggests_tibble? ( sci-CRAN/tibble )
	r_suggests_withr? ( sci-CRAN/withr )
	r_suggests_yaml? ( sci-CRAN/yaml )
"
DEPEND=">=dev-lang/R-3.5.0
	sci-CRAN/data_table
	>=sci-CRAN/hutils-1.3.0
	sci-CRAN/checkmate
	>=sci-CRAN/grattanInflators-0.4.0
	>=sci-CRAN/ineq-0.2.10
	sci-CRAN/fastmatch
	>=sci-CRAN/fy-0.2.0
	>=sci-CRAN/hutilscpp-0.9.0
	sci-CRAN/forecast
	>=sci-CRAN/assertthat-0.1
	>=sci-CRAN/magrittr-1.5
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"