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

EAPI=7

inherit R-packages

DESCRIPTION='Automatic Structural Time Series Models'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/autostsm_3.1.0.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_knitr r_suggests_rmarkdown r_suggests_testthat"
R_SUGGESTS="
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_testthat? ( sci-CRAN/testthat )
"
DEPEND=">=sci-CRAN/lubridate-1.7
	>=sci-CRAN/doSNOW-1.0.19
	>=sci-CRAN/strucchange-1.5
	>=sci-CRAN/ggplot2-3.3
	>=sci-CRAN/data_table-1.14
	>=sci-CRAN/kalmanfilter-2.0.1
	>=dev-lang/R-3.5.0
	>=sci-CRAN/maxLik-1.5.2
	>=sci-CRAN/forecast-8.15
	>=sci-CRAN/gridExtra-2.3
	>=sci-CRAN/foreach-1.5
	>=sci-CRAN/lmtest-0.9.38
	>=sci-CRAN/ggrepel-0.9
	>=sci-CRAN/progress-1.2
	>=sci-CRAN/sandwich-3.0
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"