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

EAPI=8

inherit R-packages

DESCRIPTION='Continuous Mapping of Genetic Diversity'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/wingen_2.1.2.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_adegenet r_suggests_covr r_suggests_devtools
	r_suggests_future r_suggests_knitr r_suggests_mass
	r_suggests_rmarkdown r_suggests_spatial r_suggests_stringr
	r_suggests_testthat"
R_SUGGESTS="
	r_suggests_adegenet? ( sci-CRAN/adegenet )
	r_suggests_covr? ( sci-CRAN/covr )
	r_suggests_devtools? ( sci-CRAN/devtools )
	r_suggests_future? ( sci-CRAN/future )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_mass? ( virtual/MASS )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_spatial? ( virtual/spatial )
	r_suggests_stringr? ( sci-CRAN/stringr )
	r_suggests_testthat? ( >=sci-CRAN/testthat-3.0.0 )
"
DEPEND="sci-CRAN/rlang
	sci-CRAN/sf
	sci-CRAN/gdistance
	sci-CRAN/automap
	sci-CRAN/dplyr
	sci-CRAN/pegas
	sci-CRAN/vcfR
	sci-CRAN/viridis
	sci-CRAN/hierfstat
	sci-CRAN/magrittr
	sci-CRAN/furrr
	sci-CRAN/raster
	>=dev-lang/R-3.5.0
	sci-CRAN/terra
	sci-CRAN/tidyr
	sci-CRAN/tidyselect
	sci-CRAN/crayon
	sci-CRAN/ggplot2
	sci-CRAN/purrr
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"