# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit R-packages

DESCRIPTION='Sequential Parameter Optimization'
SRC_URI="http://cran.r-project.org/src/contrib/SPOT_1.0.4184.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_algdesign r_suggests_bb r_suggests_cmaes
	r_suggests_deoptim r_suggests_dfoptim r_suggests_dicekriging
	r_suggests_doe_wrapper r_suggests_earth r_suggests_fields
	r_suggests_frf2 r_suggests_gensa r_suggests_ggplot2 r_suggests_gtools
	r_suggests_kernlab r_suggests_lhs r_suggests_lme4 r_suggests_mco
	r_suggests_minqa r_suggests_mlegp r_suggests_monmlp r_suggests_nloptr
	r_suggests_penalizedsvm r_suggests_pso r_suggests_qrnn
	r_suggests_randomforest r_suggests_rgenoud r_suggests_rgl
	r_suggests_rgp r_suggests_rsm r_suggests_tgp r_suggests_twiddler"
R_SUGGESTS="
	r_suggests_algdesign? ( sci-CRAN/AlgDesign )
	r_suggests_bb? ( sci-CRAN/BB )
	r_suggests_cmaes? ( sci-CRAN/cmaes )
	r_suggests_deoptim? ( sci-CRAN/DEoptim )
	r_suggests_dfoptim? ( sci-CRAN/dfoptim )
	r_suggests_dicekriging? ( sci-CRAN/DiceKriging )
	r_suggests_doe_wrapper? ( sci-CRAN/DoE_wrapper )
	r_suggests_earth? ( sci-CRAN/earth )
	r_suggests_fields? ( sci-CRAN/fields )
	r_suggests_frf2? ( sci-CRAN/FrF2 )
	r_suggests_gensa? ( sci-CRAN/GenSA )
	r_suggests_ggplot2? ( sci-CRAN/ggplot2 )
	r_suggests_gtools? ( sci-CRAN/gtools )
	r_suggests_kernlab? ( sci-CRAN/kernlab )
	r_suggests_lhs? ( sci-CRAN/lhs )
	r_suggests_lme4? ( sci-CRAN/lme4 )
	r_suggests_mco? ( sci-CRAN/mco )
	r_suggests_minqa? ( sci-CRAN/minqa )
	r_suggests_mlegp? ( sci-CRAN/mlegp )
	r_suggests_monmlp? ( sci-CRAN/monmlp )
	r_suggests_nloptr? ( sci-CRAN/nloptr )
	r_suggests_penalizedsvm? ( sci-CRAN/penalizedSVM )
	r_suggests_pso? ( sci-CRAN/pso )
	r_suggests_qrnn? ( sci-CRAN/qrnn )
	r_suggests_randomforest? ( sci-CRAN/randomForest )
	r_suggests_rgenoud? ( sci-CRAN/rgenoud )
	r_suggests_rgl? ( sci-CRAN/rgl )
	r_suggests_rgp? ( >=sci-CRAN/rgp-0.3.4 )
	r_suggests_rsm? ( sci-CRAN/rsm )
	r_suggests_tgp? ( sci-CRAN/tgp )
	r_suggests_twiddler? ( sci-CRAN/twiddler )
"
DEPEND=">=dev-lang/R-2.14.0
	sci-CRAN/emoa
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"