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

EAPI=7

inherit R-packages

DESCRIPTION='Client to Access Openaddresses Data'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/openadds_0.2.0.tar.gz"
LICENSE='MIT'

IUSE="${IUSE-} r_suggests_covr r_suggests_leaflet r_suggests_roxygen2
	r_suggests_testthat"
R_SUGGESTS="
	r_suggests_covr? ( sci-CRAN/covr )
	r_suggests_leaflet? ( sci-CRAN/leaflet )
	r_suggests_roxygen2? ( >=sci-CRAN/roxygen2-5.0.1 )
	r_suggests_testthat? ( sci-CRAN/testthat )
"
DEPEND=">=sci-CRAN/dplyr-0.5.0
	>=sci-CRAN/rappdirs-0.3.1
	>=sci-CRAN/maptools-0.8.40
	>=sci-CRAN/jsonlite-1.2
	>=sci-CRAN/crul-0.1.6
	>=sci-CRAN/readr-1.0.0
	>=sci-CRAN/tibble-1.2
	>=sci-CRAN/xml2-1.0.0
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"