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

EAPI=8

inherit R-packages

DESCRIPTION='Climate AEMET Tools'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/climaemet_1.2.1.tar.gz"
LICENSE='GPL-3'

IUSE="${IUSE-} r_suggests_climatol r_suggests_gganimate r_suggests_jpeg
	r_suggests_knitr r_suggests_lubridate r_suggests_rmarkdown
	r_suggests_scales r_suggests_sf"
R_SUGGESTS="
	r_suggests_climatol? ( >=sci-CRAN/climatol-3.1.2 )
	r_suggests_gganimate? ( >=sci-CRAN/gganimate-1.0.5 )
	r_suggests_jpeg? ( >=sci-CRAN/jpeg-0.1.8 )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_lubridate? ( sci-CRAN/lubridate )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_scales? ( sci-CRAN/scales )
	r_suggests_sf? ( >=sci-CRAN/sf-0.9.0 )
"
DEPEND=">=dev-lang/R-3.6.0
	>=sci-CRAN/jsonlite-1.7.0
	>=sci-CRAN/rlang-0.4.6
	>=sci-CRAN/ggplot2-3.3.2
	>=sci-CRAN/httr-1.4.1
	>=sci-CRAN/tibble-3.0.3
	>=sci-CRAN/tidyr-1.1.0
	>=sci-CRAN/dplyr-1.0.0
	>=sci-CRAN/rappdirs-0.3.3
	>=sci-CRAN/readr-1.4.0
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"