summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/r-tinytiger/package.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-tinytiger/package.py b/var/spack/repos/builtin/packages/r-tinytiger/package.py
new file mode 100644
index 0000000000..d0b66c81f9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-tinytiger/package.py
@@ -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")