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

EAPI=8

inherit R-packages

DESCRIPTION='Estimate Incidence and Prevalenc... (see metadata)'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/IncidencePrevalence_0.7.4.tar.gz"

IUSE="${IUSE-} r_suggests_dbi r_suggests_duckdb r_suggests_epitools
	r_suggests_flextable r_suggests_ggplot2 r_suggests_gt r_suggests_here
	r_suggests_hmisc r_suggests_knitr r_suggests_odbc
	r_suggests_rmarkdown r_suggests_rpostgres r_suggests_scales
	r_suggests_spelling r_suggests_testthat r_suggests_tictoc"
R_SUGGESTS="
	r_suggests_dbi? ( >=sci-CRAN/DBI-1.0.0 )
	r_suggests_duckdb? ( >=sci-CRAN/duckdb-1.0.0 )
	r_suggests_epitools? ( sci-CRAN/epitools )
	r_suggests_flextable? ( sci-CRAN/flextable )
	r_suggests_ggplot2? ( >=sci-CRAN/ggplot2-3.4.0 )
	r_suggests_gt? ( sci-CRAN/gt )
	r_suggests_here? ( sci-CRAN/here )
	r_suggests_hmisc? ( sci-CRAN/Hmisc )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_odbc? ( sci-CRAN/odbc )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_rpostgres? ( sci-CRAN/RPostgres )
	r_suggests_scales? ( >=sci-CRAN/scales-1.1.0 )
	r_suggests_spelling? ( sci-CRAN/spelling )
	r_suggests_testthat? ( >=sci-CRAN/testthat-0.3.1 )
	r_suggests_tictoc? ( sci-CRAN/tictoc )
"
DEPEND="sci-CRAN/lifecycle
	>=sci-CRAN/omopgenerics-0.1.2
	>=sci-CRAN/PatientProfiles-1.1.0
	>=sci-CRAN/lubridate-1.0.0
	>=sci-CRAN/purrr-0.3.5
	>=sci-CRAN/cli-3.0.0
	>=dev-lang/R-4.0
	>=sci-CRAN/stringr-1.5.0
	sci-CRAN/clock
	>=sci-CRAN/CDMConnector-1.3.0
	>=sci-CRAN/checkmate-2.0.0
	>=sci-CRAN/dbplyr-2.5.0
	>=sci-CRAN/dplyr-1.1.0
	>=sci-CRAN/rlang-1.0.0
	>=sci-CRAN/glue-1.5.0
	sci-CRAN/visOmopResults
	>=sci-CRAN/tidyr-1.2.0
	>=sci-CRAN/magrittr-2.0.0
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"