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

EAPI=8

inherit R-packages

DESCRIPTION='Cycle Routing and Data for Cycling Advocacy'
KEYWORDS="~amd64 ~x64-macos ~arm64-macos"
SRC_URI="http://cran.r-project.org/src/contrib/cyclestreets_1.0.3.tar.gz"
LICENSE='GPL-3'

IUSE="${IUSE-} r_suggests_covr r_suggests_od r_suggests_stplanr"
R_SUGGESTS="
	r_suggests_covr? ( sci-CRAN/covr )
	r_suggests_od? ( sci-CRAN/od )
	r_suggests_stplanr? ( sci-CRAN/stplanr )
"
DEPEND="sci-CRAN/progressr
	sci-CRAN/jsonlite
	sci-CRAN/magrittr
	sci-CRAN/RcppSimdJson
	sci-CRAN/stringr
	sci-CRAN/sf
	sci-CRAN/stringi
	>=dev-lang/R-3.6.0
	sci-CRAN/data_table
	sci-CRAN/checkmate
	sci-CRAN/curl
	sci-CRAN/dplyr
	sci-CRAN/geojsonsf
	sci-CRAN/httr
	sci-CRAN/readr
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"