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

EAPI=8

inherit R-packages

DESCRIPTION='Tidy Finance Helper Functions'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/tidyfinance_0.3.0.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_dbi r_suggests_dbplyr r_suggests_frenchdata
	r_suggests_httr2 r_suggests_knitr r_suggests_readxl
	r_suggests_rmarkdown r_suggests_rpostgres r_suggests_testthat"
R_SUGGESTS="
	r_suggests_dbi? ( >=sci-CRAN/DBI-1.2.2 )
	r_suggests_dbplyr? ( >=sci-CRAN/dbplyr-2.5.0 )
	r_suggests_frenchdata? ( >=sci-CRAN/frenchdata-0.2.0 )
	r_suggests_httr2? ( >=sci-CRAN/httr2-1.0.0 )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_readxl? ( >=sci-CRAN/readxl-1.4.0 )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_rpostgres? ( >=sci-CRAN/RPostgres-1.4.5 )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.2.0 )
"
DEPEND=">=dev-lang/R-4.1
	sci-CRAN/lifecycle
	>=sci-CRAN/lubridate-1.9.3
	>=sci-CRAN/purrr-1.0.2
	>=sci-CRAN/dplyr-1.1.4
	>=sci-CRAN/rlang-1.1.3
	>=sci-CRAN/tidyr-1.3.1
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"