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

EAPI=7

inherit R-packages

DESCRIPTION='Blind Source Separation and Supe... (see metadata)'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/tsBSS_1.0.0.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_dr r_suggests_mts r_suggests_stochvol
	r_suggests_tsbox"
R_SUGGESTS="
	r_suggests_dr? ( sci-CRAN/dr )
	r_suggests_mts? ( sci-CRAN/MTS )
	r_suggests_stochvol? ( sci-CRAN/stochvol )
	r_suggests_tsbox? ( sci-CRAN/tsbox )
"
DEPEND="sci-CRAN/BSSprep
	sci-CRAN/xts
	>=sci-CRAN/JADE-2.0.2
	>=sci-CRAN/Rcpp-0.11.0
	>=sci-CRAN/ICtest-0.3.2
	sci-CRAN/forecast
	virtual/boot
	sci-CRAN/zoo
"
RDEPEND="${DEPEND-}
	sci-CRAN/Rcpp
	sci-CRAN/RcppArmadillo
	${R_SUGGESTS-}
"