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

EAPI=8

inherit R-packages

DESCRIPTION='Nonlinear Regression for Agricultural Applications'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/nlraa_1.9.7.tar.gz"
LICENSE='GPL-3'

IUSE="${IUSE-} r_suggests_bbmle r_suggests_car r_suggests_emmeans
	r_suggests_ggplot2 r_suggests_lattice r_suggests_minpack_lm
	r_suggests_nistnls r_suggests_nls2 r_suggests_nlstools
	r_suggests_rmarkdown r_suggests_segmented"
R_SUGGESTS="
	r_suggests_bbmle? ( sci-CRAN/bbmle )
	r_suggests_car? ( sci-CRAN/car )
	r_suggests_emmeans? ( sci-CRAN/emmeans )
	r_suggests_ggplot2? ( sci-CRAN/ggplot2 )
	r_suggests_lattice? ( virtual/lattice )
	r_suggests_minpack_lm? ( sci-CRAN/minpack_lm )
	r_suggests_nistnls? ( sci-CRAN/NISTnls )
	r_suggests_nls2? ( sci-CRAN/nls2 )
	r_suggests_nlstools? ( sci-CRAN/nlstools )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_segmented? ( sci-CRAN/segmented )
"
DEPEND=">=dev-lang/R-3.5.0
	virtual/Matrix
	virtual/MASS
	sci-CRAN/knitr
	virtual/nlme
	virtual/boot
	virtual/mgcv
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"