r-tinytiger: Add tinytiger R package. (#39828)

* r-tinytiger: Add tinytiger R package.
* Fix homepage.

---------

Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
This commit is contained in:
Johann Gaebler 2023-09-07 00:58:36 -04:00 committed by GitHub
parent b81aa42179
commit 1e85a1b227
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,33 @@
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class RTinytiger(RPackage):
"""Lightweight Interface to TIGER/Line Shapefiles
Download geographic shapes from the United States Census Bureau TIGER/Line
Shapefiles
<https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html>.
Functions support downloading and reading in geographic boundary data. All
downloads can be set up with a cache to avoid multiple downloads. Data is
available back to 2000 for most geographies."""
homepage = "https://alarm-redist.org/tinytiger/"
cran = "tinytiger"
maintainers("jgaeb")
version("0.0.4", sha256="818328b5095d9e8b302f1a04d004cd3ec6e62d945dbd757fe15e9ab768a7459e")
version("0.0.3", sha256="841d92dd4185b9bff5eef0d3635805c5a3efb1bc4ff0a1101ef264417e37921c")
depends_on("r@2.0.0:", type=("build", "run"))
depends_on("r@2.10:", type=("build", "run"), when="@0.0.4:")
depends_on("r-rlang")
depends_on("r-cli")
depends_on("r-glue")
depends_on("r-curl")
depends_on("r-sf")