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

EAPI=8

inherit R-packages

DESCRIPTION='Print Maps, Draw on Them, Scan Them Back in'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/mapscanner_0.1.1.tar.gz"

IUSE="${IUSE-} r_suggests_dplyr r_suggests_ggplot2 r_suggests_gibble
	r_suggests_jpeg r_suggests_knitr r_suggests_lwgeom r_suggests_mmand
	r_suggests_osmdata r_suggests_polyclip r_suggests_rmarkdown
	r_suggests_spelling r_suggests_testthat"
R_SUGGESTS="
	r_suggests_dplyr? ( sci-CRAN/dplyr )
	r_suggests_ggplot2? ( sci-CRAN/ggplot2 )
	r_suggests_gibble? ( sci-CRAN/gibble )
	r_suggests_jpeg? ( sci-CRAN/jpeg )
	r_suggests_knitr? ( sci-CRAN/knitr )
	r_suggests_lwgeom? ( sci-CRAN/lwgeom )
	r_suggests_mmand? ( sci-CRAN/mmand )
	r_suggests_osmdata? ( sci-CRAN/osmdata )
	r_suggests_polyclip? ( sci-CRAN/polyclip )
	r_suggests_rmarkdown? ( sci-CRAN/rmarkdown )
	r_suggests_spelling? ( sci-CRAN/spelling )
	r_suggests_testthat? ( sci-CRAN/testthat )
"
DEPEND="sci-CRAN/Rcpp
	sci-CRAN/pdftools
	sci-CRAN/png
	sci-CRAN/reproj
	sci-CRAN/RNiftyReg
	sci-CRAN/purrr
	sci-CRAN/sf
	sci-CRAN/raster
	>=dev-lang/R-3.5.0
	sci-CRAN/glue
	sci-CRAN/curl
	sci-CRAN/fs
	sci-CRAN/cli
	sci-CRAN/magick
	sci-CRAN/slippymath
	sci-CRAN/tibble
	sci-CRAN/memoise
	sci-CRAN/magrittr
"
RDEPEND="${DEPEND-}
	sci-CRAN/Rcpp
	${R_SUGGESTS-}
"

_UNRESOLVED_PACKAGES=( 'sci-CRAN/mapview' )