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

EAPI=7

inherit R-packages

DESCRIPTION='Interface to Diverse Estimation ... (see metadata)'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/CompareCausalNetworks_0.2.6.2.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_backshift r_suggests_bnlearn r_suggests_glmnet
	r_suggests_huge r_suggests_invariantcausalprediction
	r_suggests_kernlab r_suggests_mboost r_suggests_mgcv r_suggests_pcalg
	r_suggests_testthat"
R_SUGGESTS="
	r_suggests_backshift? ( sci-CRAN/backShift )
	r_suggests_bnlearn? ( sci-CRAN/bnlearn )
	r_suggests_glmnet? ( sci-CRAN/glmnet )
	r_suggests_huge? ( sci-CRAN/huge )
	r_suggests_invariantcausalprediction? ( sci-CRAN/InvariantCausalPrediction )
	r_suggests_kernlab? ( sci-CRAN/kernlab )
	r_suggests_mboost? ( sci-CRAN/mboost )
	r_suggests_mgcv? ( virtual/mgcv )
	r_suggests_pcalg? ( sci-CRAN/pcalg )
	r_suggests_testthat? ( sci-CRAN/testthat )
"
DEPEND=">=dev-lang/R-3.1.0
	virtual/Matrix
	sci-CRAN/expm
	sci-CRAN/data_table
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"

_UNRESOLVED_PACKAGES=(
	'CAM'
	'flare'
)