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

EAPI=8

inherit R-packages

DESCRIPTION='Genetic Linkage Maps in Autopolyploids'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/mappoly_0.4.1.tar.gz"
LICENSE='GPL-3'

IUSE="${IUSE-} r_suggests_fitpoly r_suggests_gatepoints r_suggests_knitr
	r_suggests_matrix r_suggests_polymapr r_suggests_rmarkdown
	r_suggests_stringr r_suggests_testthat r_suggests_updog"
R_SUGGESTS="
	r_suggests_fitpoly? ( sci-CRAN/fitPoly )
	r_suggests_gatepoints? ( sci-CRAN/gatepoints )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_matrix? ( virtual/Matrix )
	r_suggests_polymapr? ( sci-CRAN/polymapR )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_stringr? ( sci-CRAN/stringr )
	r_suggests_testthat? ( sci-CRAN/testthat )
	r_suggests_updog? ( sci-CRAN/updog )
"
DEPEND="sci-CRAN/dplyr
	sci-CRAN/crayon
	sci-CRAN/ggsci
	sci-CRAN/vcfR
	sci-CRAN/fields
	sci-CRAN/ggpubr
	sci-CRAN/ggplot2
	sci-CRAN/princurve
	sci-CRAN/plotly
	sci-CRAN/rstudioapi
	sci-CRAN/plot3D
	sci-CRAN/cli
	sci-CRAN/dendextend
	>=dev-lang/R-4.0.0
	sci-CRAN/magrittr
	sci-CRAN/zoo
	>=sci-CRAN/Rcpp-0.12.6
	sci-CRAN/RCurl
	sci-CRAN/RcppParallel
	sci-CRAN/reshape2
"
RDEPEND="${DEPEND-}
	sci-CRAN/Rcpp
	sci-CRAN/RcppParallel
	${R_SUGGESTS-}
"