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

EAPI=7

inherit R-packages

DESCRIPTION='Nonlinear Mixed Effects Models i... (see metadata)'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/nlmixr2extra_2.0.8.tar.gz"
LICENSE='GPL-3+'

IUSE="${IUSE-} r_suggests_brms r_suggests_devtools r_suggests_dplyr
	r_suggests_nlmixr2data r_suggests_testthat r_suggests_withr"
R_SUGGESTS="
	r_suggests_brms? ( sci-CRAN/brms )
	r_suggests_devtools? ( sci-CRAN/devtools )
	r_suggests_dplyr? ( sci-CRAN/dplyr )
	r_suggests_nlmixr2data? ( sci-CRAN/nlmixr2data )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.0.0 )
	r_suggests_withr? ( sci-CRAN/withr )
"
DEPEND="sci-CRAN/checkmate
	sci-CRAN/ggplot2
	sci-CRAN/crayon
	>=sci-CRAN/cli-3.4.0
	sci-CRAN/digest
	virtual/nlme
	>=sci-CRAN/nlmixr2est-2.1.1
	sci-CRAN/Rcpp
	>=sci-CRAN/rxode2-2.0.10
	>=dev-lang/R-4.0
	sci-CRAN/data_table
	sci-CRAN/ggtext
	sci-CRAN/lotri
	sci-CRAN/symengine
"
RDEPEND="${DEPEND-}
	sci-CRAN/Rcpp
	sci-CRAN/RcppArmadillo
	${R_SUGGESTS-}
"