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

EAPI=8

inherit R-packages

DESCRIPTION='R Interface for the GPlates Web ... (see metadata)'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/rgplates_0.5.0.tar.gz"

IUSE="${IUSE-} r_suggests_chronosphere r_suggests_geojsonsf r_suggests_httr2
	r_suggests_knitr r_suggests_rmarkdown r_suggests_sp r_suggests_terra"
R_SUGGESTS="
	r_suggests_chronosphere? ( sci-CRAN/chronosphere )
	r_suggests_geojsonsf? ( sci-CRAN/geojsonsf )
	r_suggests_httr2? ( sci-CRAN/httr2 )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_sp? ( sci-CRAN/sp )
	r_suggests_terra? ( sci-CRAN/terra )
"
DEPEND=">=dev-lang/R-3.5.0
	sci-CRAN/sf
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"