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

EAPI=7

inherit R-packages

DESCRIPTION='Statistical Tools for Topological Data Analysis'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/TDA_1.8.2.tar.gz"
LICENSE='GPL-3'

IUSE="${IUSE-} r_suggests_lintr r_suggests_testthat"
R_SUGGESTS="
	r_suggests_lintr? ( sci-CRAN/lintr )
	r_suggests_testthat? ( sci-CRAN/testthat )
"
DEPEND=">=dev-lang/R-3.1.0
	sci-CRAN/igraph
	sci-CRAN/FNN
	sci-CRAN/scales
	>=sci-CRAN/Rcpp-0.11.0
"
RDEPEND="${DEPEND-}
	dev-libs/gmp
	sci-CRAN/RcppEigen
	sci-CRAN/Rcpp
	>=sci-CRAN/BH-1.78.0.0
	${R_SUGGESTS-}
"