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

EAPI=8

inherit R-packages

DESCRIPTION='Genetic Analysis Package'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/gap_1.6.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_bookdown r_suggests_bradleyterry2
	r_suggests_calibrate r_suggests_circlize r_suggests_coda
	r_suggests_cowplot r_suggests_coxme r_suggests_diagrammer
	r_suggests_dot r_suggests_foreign r_suggests_genetics
	r_suggests_haplo_stats r_suggests_htmlwidgets r_suggests_jsonlite
	r_suggests_kinship2 r_suggests_knitr r_suggests_lattice
	r_suggests_magic r_suggests_manhattanly r_suggests_mass
	r_suggests_matrix r_suggests_mcmcglmm r_suggests_meta
	r_suggests_metafor r_suggests_nlme r_suggests_pedigree
	r_suggests_pedigreemm r_suggests_plotrix r_suggests_readr
	r_suggests_reshape r_suggests_rmarkdown r_suggests_rms
	r_suggests_survival r_suggests_valr"
R_SUGGESTS="
	r_suggests_bookdown? ( sci-CRAN/bookdown )
	r_suggests_bradleyterry2? ( sci-CRAN/BradleyTerry2 )
	r_suggests_calibrate? ( sci-CRAN/calibrate )
	r_suggests_circlize? ( sci-CRAN/circlize )
	r_suggests_coda? ( sci-CRAN/coda )
	r_suggests_cowplot? ( sci-CRAN/cowplot )
	r_suggests_coxme? ( sci-CRAN/coxme )
	r_suggests_diagrammer? ( sci-CRAN/DiagrammeR )
	r_suggests_dot? ( sci-CRAN/DOT )
	r_suggests_foreign? ( virtual/foreign )
	r_suggests_genetics? ( sci-CRAN/genetics )
	r_suggests_haplo_stats? ( sci-CRAN/haplo_stats )
	r_suggests_htmlwidgets? ( sci-CRAN/htmlwidgets )
	r_suggests_jsonlite? ( sci-CRAN/jsonlite )
	r_suggests_kinship2? ( sci-CRAN/kinship2 )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_lattice? ( virtual/lattice )
	r_suggests_magic? ( sci-CRAN/magic )
	r_suggests_manhattanly? ( sci-CRAN/manhattanly )
	r_suggests_mass? ( virtual/MASS )
	r_suggests_matrix? ( virtual/Matrix virtual/Matrix virtual/Matrix )
	r_suggests_mcmcglmm? ( sci-CRAN/MCMCglmm )
	r_suggests_meta? ( sci-CRAN/meta )
	r_suggests_metafor? ( sci-CRAN/metafor )
	r_suggests_nlme? ( virtual/nlme )
	r_suggests_pedigree? ( sci-CRAN/pedigree )
	r_suggests_pedigreemm? ( sci-CRAN/pedigreemm )
	r_suggests_plotrix? ( sci-CRAN/plotrix )
	r_suggests_readr? ( sci-CRAN/readr )
	r_suggests_reshape? ( sci-CRAN/reshape )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_rms? ( sci-CRAN/rms )
	r_suggests_survival? ( virtual/survival )
	r_suggests_valr? ( sci-CRAN/valr )
"
DEPEND="sci-CRAN/dplyr
	>=sci-CRAN/gap_datasets-0.0.6
	sci-CRAN/plotly
	sci-CRAN/Rdpack
	sci-CRAN/ggplot2
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"

_UNRESOLVED_PACKAGES=( 'sci-CRAN/R2jags' )