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

EAPI=7

inherit R-packages

DESCRIPTION='Core Functionality of the spatstat Family'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/spatstat.core_2.4-4.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_fftwtools r_suggests_gsl r_suggests_locfit
	r_suggests_maptools r_suggests_nleqslv r_suggests_nnet
	r_suggests_randomfields r_suggests_randomfieldsutils r_suggests_sm
	r_suggests_spatial r_suggests_spatstat"
R_SUGGESTS="
	r_suggests_fftwtools? ( >=sci-CRAN/fftwtools-0.9.8 )
	r_suggests_gsl? ( sci-CRAN/gsl )
	r_suggests_locfit? ( sci-CRAN/locfit )
	r_suggests_maptools? ( >=sci-CRAN/maptools-0.9.9 )
	r_suggests_nleqslv? ( sci-CRAN/nleqslv )
	r_suggests_nnet? ( virtual/nnet )
	r_suggests_randomfields? ( >=sci-CRAN/RandomFields-3.1.24.1 )
	r_suggests_randomfieldsutils? ( >=sci-CRAN/RandomFieldsUtils-0.3.3.1 )
	r_suggests_sm? ( sci-CRAN/sm )
	r_suggests_spatial? ( virtual/spatial )
	r_suggests_spatstat? ( >=sci-CRAN/spatstat-2.3.3 )
"
DEPEND="virtual/nlme
	virtual/Matrix
	>=sci-CRAN/spatstat_sparse-2.0.0
	sci-CRAN/abind
	virtual/mgcv
	>=dev-lang/R-3.5.0
	>=sci-CRAN/spatstat_geom-2.4.0
	>=sci-CRAN/spatstat_random-2.2.0
	>=sci-CRAN/spatstat_data-2.1.0
	virtual/rpart
	>=sci-CRAN/spatstat_utils-2.3.1
	sci-CRAN/tensor
	>=sci-CRAN/goftest-1.2.2
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"