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:
parent
b81aa42179
commit
1e85a1b227
1 changed files with 33 additions and 0 deletions
33
var/spack/repos/builtin/packages/r-tinytiger/package.py
Normal file
33
var/spack/repos/builtin/packages/r-tinytiger/package.py
Normal 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")
|
Loading…
Reference in a new issue