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

EAPI=7

inherit R-packages

DESCRIPTION='PARAFAC Analysis of EEMs from DOM'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/staRdom_1.1.25.tar.gz"
LICENSE='AGPL-3'

IUSE="${IUSE-} r_suggests_askpass r_suggests_httr r_suggests_knitr
	r_suggests_plotly r_suggests_rmarkdown r_suggests_xlsx"
R_SUGGESTS="
	r_suggests_askpass? ( >=sci-CRAN/askpass-1.1 )
	r_suggests_httr? ( >=sci-CRAN/httr-1.4.2 )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_plotly? ( sci-CRAN/plotly )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_xlsx? ( sci-CRAN/xlsx )
"
DEPEND=">=sci-CRAN/multiway-1.0.6
	>=sci-CRAN/cdom-0.1.0
	>=sci-CRAN/readr-2.1.2
	>=sci-CRAN/doParallel-1.0.16
	>=sci-CRAN/eemR-1.0.1
	>=sci-CRAN/zoo-1.8.9
	>=sci-CRAN/data_table-1.14.2
	>=sci-CRAN/R_matlab-3.6.2
	>=sci-CRAN/MBA-0.0.9
	>=dev-lang/R-4.0
	>=sci-CRAN/stringr-1.4.0
	>=sci-CRAN/tibble-3.1.6
	>=sci-CRAN/foreach-1.5.1
	virtual/Matrix
	>=sci-CRAN/ggplot2-3.3.5
	>=sci-CRAN/tidyr-1.2.0
	>=sci-CRAN/pracma-2.3.3
	>=sci-CRAN/drc-3.0.1
	>=sci-CRAN/dplyr-1.0.8
	>=sci-CRAN/GGally-2.1.2
	>=sci-CRAN/gtools-3.9
	>=sci-CRAN/viridisLite-0.4
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"

_UNRESOLVED_PACKAGES=( 'sci-CRAN/kableExtra' )