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

EAPI=8

inherit R-packages

DESCRIPTION='NHDPlus Tools'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/nhdplusTools_1.0.0.tar.gz"
LICENSE='CC0-1.0'

IUSE="${IUSE-} r_suggests_future r_suggests_ggmap r_suggests_ggplot2
	r_suggests_httptest r_suggests_knitr r_suggests_leaflet
	r_suggests_lwgeom r_suggests_rmarkdown r_suggests_testthat"
R_SUGGESTS="
	r_suggests_future? ( sci-CRAN/future )
	r_suggests_ggmap? ( sci-CRAN/ggmap )
	r_suggests_ggplot2? ( sci-CRAN/ggplot2 )
	r_suggests_httptest? ( sci-CRAN/httptest )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_leaflet? ( sci-CRAN/leaflet )
	r_suggests_lwgeom? ( sci-CRAN/lwgeom )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_testthat? ( sci-CRAN/testthat )
"
DEPEND="sci-CRAN/dataRetrieval
	sci-CRAN/units
	sci-CRAN/httr
	sci-CRAN/sf
	sci-CRAN/hydroloom
	sci-CRAN/jsonlite
	sci-CRAN/R_utils
	sci-CRAN/fst
	sci-CRAN/mapsf
	sci-CRAN/pbapply
	sci-CRAN/maptiles
	sci-CRAN/arrow
	sci-CRAN/zip
	>=dev-lang/R-4.0
	sci-CRAN/dplyr
	sci-CRAN/magrittr
	sci-CRAN/xml2
	sci-CRAN/tidyr
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"

_UNRESOLVED_PACKAGES=( 'sci-CRAN/gifski' )