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

EAPI=6

inherit R-packages

DESCRIPTION='Basic Robust Statistics'
SRC_URI="http://cran.r-project.org/src/contrib/robustbase_0.93-4.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_boot r_suggests_catdata r_suggests_cluster
	r_suggests_doparallel r_suggests_fit_models r_suggests_foreach
	r_suggests_ggally r_suggests_ggplot2 r_suggests_lattice
	r_suggests_mass r_suggests_matrix r_suggests_mpv
	r_suggests_rcolorbrewer r_suggests_reshape2 r_suggests_robust
	r_suggests_sfsmisc r_suggests_skewt r_suggests_xtable"
R_SUGGESTS="
	r_suggests_boot? ( virtual/boot )
	r_suggests_catdata? ( sci-CRAN/catdata )
	r_suggests_cluster? ( virtual/cluster )
	r_suggests_doparallel? ( sci-CRAN/doParallel )
	r_suggests_fit_models? ( sci-CRAN/fit_models )
	r_suggests_foreach? ( sci-CRAN/foreach )
	r_suggests_ggally? ( sci-CRAN/GGally )
	r_suggests_ggplot2? ( sci-CRAN/ggplot2 )
	r_suggests_lattice? ( virtual/lattice )
	r_suggests_mass? ( virtual/MASS )
	r_suggests_matrix? ( virtual/Matrix )
	r_suggests_mpv? ( sci-CRAN/MPV )
	r_suggests_rcolorbrewer? ( sci-CRAN/RColorBrewer )
	r_suggests_reshape2? ( sci-CRAN/reshape2 )
	r_suggests_robust? ( sci-CRAN/robust )
	r_suggests_sfsmisc? ( sci-CRAN/sfsmisc )
	r_suggests_skewt? ( sci-CRAN/skewt )
	r_suggests_xtable? ( sci-CRAN/xtable )
"
DEPEND=">=dev-lang/R-3.1.0
	sci-CRAN/DEoptimR
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"