summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-08-16 13:50:07 -0400
committerGitHub <noreply@github.com>2021-08-16 12:50:07 -0500
commit9d05c7ba76de8bc93cdcfc609f3e5afdbfde6229 (patch)
treef4d61a905bf516b4e8c365d40349c98eb86ea07c
parent1fd15703cdc3de96f4289f4802cf30c1f070117d (diff)
downloadspack-9d05c7ba76de8bc93cdcfc609f3e5afdbfde6229.tar.gz
spack-9d05c7ba76de8bc93cdcfc609f3e5afdbfde6229.tar.bz2
spack-9d05c7ba76de8bc93cdcfc609f3e5afdbfde6229.tar.xz
spack-9d05c7ba76de8bc93cdcfc609f3e5afdbfde6229.zip
New package: r-labelled (#25391)
-rw-r--r--var/spack/repos/builtin/packages/r-labelled/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-labelled/package.py b/var/spack/repos/builtin/packages/r-labelled/package.py
new file mode 100644
index 0000000000..0ee6d63807
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-labelled/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2021 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 import *
+
+
+class RLabelled(RPackage):
+ """Work with labelled data imported from 'SPSS' or 'Stata' with 'haven' or
+ 'foreign'. This package provides useful functions to deal with
+ "haven_labelled" and "haven_labelled_spss" classes introduced by 'haven'
+ package."""
+
+ homepage = "https://cloud.r-project.org/package=labelled"
+ url = "https://cloud.r-project.org/src/contrib/labelled_2.7.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/labelled"
+
+ version('2.7.0', sha256='b1b66b34d3ad682e492fc5bb6431780760576d29dbac40d87bef3c0960054bdb')
+
+ depends_on('r-haven@2.3.1:', type=('build', 'run'))
+ depends_on('r-dplyr', type=('build', 'run'))
+ depends_on('r-lifecycle', type=('build', 'run'))
+ depends_on('r-rlang', type=('build', 'run'))
+ depends_on('r-vctrs', type=('build', 'run'))
+ depends_on('r-pillar', type=('build', 'run'))
+ depends_on('r-tidyr', type=('build', 'run'))