summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJohann Gaebler <43016598+jgaeb@users.noreply.github.com>2023-09-12 15:51:23 -0400
committerGitHub <noreply@github.com>2023-09-12 12:51:23 -0700
commitcfdaee4725632c75a580f08ea0c07cc946ea474b (patch)
tree4431244f89ea6db52d2ed9a0e765b026c4e88731 /var
parent306ba867091cb5015e42a2c14273d741ab4d4748 (diff)
downloadspack-cfdaee4725632c75a580f08ea0c07cc946ea474b.tar.gz
spack-cfdaee4725632c75a580f08ea0c07cc946ea474b.tar.bz2
spack-cfdaee4725632c75a580f08ea0c07cc946ea474b.tar.xz
spack-cfdaee4725632c75a580f08ea0c07cc946ea474b.zip
r-pl94171: Add R package PL94171 (#39926)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-pl94171/package.py37
1 files changed, 37 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-pl94171/package.py b/var/spack/repos/builtin/packages/r-pl94171/package.py
new file mode 100644
index 0000000000..6cd51f523e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-pl94171/package.py
@@ -0,0 +1,37 @@
+# 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 RPl94171(RPackage):
+ """Tabulate P.L. 94-171 Redistricting Data Summary Files
+
+ Tools to process legacy format summary redistricting data files produced by
+ the United States Census Bureau pursuant to P.L. 94-171. These files are
+ generally available earlier but are difficult to work with as-is."""
+
+ homepage = "https://corymccartan.com/PL94171/"
+ cran = "PL94171"
+
+ maintainers("jgaeb")
+
+ version("1.1.2", sha256="53ca90801eb04a0535dda0f98869fe1d7f67e40702e5f77570303bbbb5289c73")
+ version("1.1.1", sha256="a4016b94070c9e811f33ee7f0b662d968d250391848b8afd7f7386c625b6c2fe")
+ version("1.0.2", sha256="3cbe058ab8f99944dd7b034ba93044d03d8351c3036759d8980378f78bef0330")
+ version("1.0.1", sha256="c31ccf045a742719efe94fa08109b52c6a986d86d15815041fb93c877cf5f474")
+ version("0.3.2", sha256="9135e4a1405e90ae7855af568794eb71702a3142d3ab089702061a359e9bba1e")
+ version("0.2.0", sha256="8d4cf1199812dacfc9a62b975056ba3c763a899bfc177e48f059581a3e4550e1")
+
+ depends_on("r@4.0.0:", type=("build", "run"))
+ depends_on("r-stringr", type=("build", "run"))
+ depends_on("r-readr", type=("build", "run"))
+ depends_on("r-dplyr@1.0.0:", type=("build", "run"))
+ depends_on("r-sf", type=("build", "run"))
+ depends_on("r-withr", type=("build", "run"))
+ depends_on("r-httr", type=("build", "run"))
+ depends_on("r-tigris", type=("build", "run"), when="@0.2.0:1.0.2")
+ depends_on("r-tinytiger", type=("build", "run"), when="@1.1.1:")
+ depends_on("r-cli", type=("build", "run"), when="@1.1.1:")