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

EAPI=8

inherit R-packages

DESCRIPTION='Calculating Spatial Risk'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/spatialrisk_0.7.1.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_automap r_suggests_gstat r_suggests_knitr
	r_suggests_mgcv r_suggests_rmarkdown r_suggests_testthat
	r_suggests_vroom"
R_SUGGESTS="
	r_suggests_automap? ( sci-CRAN/automap )
	r_suggests_gstat? ( sci-CRAN/gstat )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_mgcv? ( virtual/mgcv )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_testthat? ( sci-CRAN/testthat )
	r_suggests_vroom? ( sci-CRAN/vroom )
"
DEPEND="sci-CRAN/viridis
	sci-CRAN/fs
	sci-CRAN/geohashTools
	sci-CRAN/Rcpp
	sci-CRAN/data_table
	sci-CRAN/RcppProgress
	>=dev-lang/R-3.3
	sci-CRAN/GenSA
	sci-CRAN/leaflet
	sci-CRAN/dplyr
	sci-CRAN/sf
	sci-CRAN/units
	sci-CRAN/leafem
	virtual/class
	sci-CRAN/ggplot2
	sci-CRAN/leafgl
	sci-CRAN/tmap
	sci-CRAN/colourvalues
"
RDEPEND="${DEPEND-}
	sci-CRAN/Rcpp
	sci-CRAN/RcppProgress
	${R_SUGGESTS-}
"