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

EAPI=7

inherit R-packages

DESCRIPTION='Spatial and Spatio-Temporal Geos... (see metadata)'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/gstat_2.0-8.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_fields r_suggests_future r_suggests_future_apply
	r_suggests_mapdata r_suggests_maps r_suggests_maptools
	r_suggests_raster r_suggests_rgeos r_suggests_sf r_suggests_stars
	r_suggests_xts"
R_SUGGESTS="
	r_suggests_fields? ( sci-CRAN/fields )
	r_suggests_future? ( sci-CRAN/future )
	r_suggests_future_apply? ( sci-CRAN/future_apply )
	r_suggests_mapdata? ( sci-CRAN/mapdata )
	r_suggests_maps? ( sci-CRAN/maps )
	r_suggests_maptools? ( sci-CRAN/maptools )
	r_suggests_raster? ( sci-CRAN/raster )
	r_suggests_rgeos? ( sci-CRAN/rgeos )
	r_suggests_sf? ( >=sci-CRAN/sf-0.7.2 )
	r_suggests_stars? ( >=sci-CRAN/stars-0.3.0 )
	r_suggests_xts? ( sci-CRAN/xts )
"
DEPEND="virtual/lattice
	>=sci-CRAN/spacetime-1.0.0
	sci-CRAN/zoo
	>=sci-CRAN/sp-0.9.72
	sci-CRAN/FNN
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"

_UNRESOLVED_PACKAGES=( '>=sci-CRAN/rgdal-0.5.2' )