summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-04-02 21:54:29 -0400
committerGitHub <noreply@github.com>2021-04-02 20:54:29 -0500
commit0d4e0b8198c292fd5768999752e44292aed2d906 (patch)
treef2aa0e156743044a918f49e8080723353325737d /var
parent7cc2db1b4e8af328d7e6ef1d34886c9a70081a6e (diff)
downloadspack-0d4e0b8198c292fd5768999752e44292aed2d906.tar.gz
spack-0d4e0b8198c292fd5768999752e44292aed2d906.tar.bz2
spack-0d4e0b8198c292fd5768999752e44292aed2d906.tar.xz
spack-0d4e0b8198c292fd5768999752e44292aed2d906.zip
New package: r-amelia (#22623)
Co-authored-by: Alex C Leute <aclrc@rit.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-amelia/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-amelia/package.py b/var/spack/repos/builtin/packages/r-amelia/package.py
new file mode 100644
index 0000000000..4d5bd29f2f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-amelia/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2020 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 RAmelia(RPackage):
+ """Amelia: A Program for Missing Data
+
+ Amelia II "multiply imputes" missing data in a single
+ cross-section (such as a survey), from a time series (like
+ variables collected for each year in a country), or from a
+ time-series-cross-sectional data set (such as collected by
+ years for each of several countries)."""
+
+ homepage = "http://gking.harvard.edu/amelia"
+ url = "https://cloud.r-project.org/src/contrib/Amelia_1.7.6.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/Amelia"
+
+ version('1.7.6', sha256='63c08d374aaf78af46c34dc78da719b3085e58d9fabdc76c6460d5193a621bea')
+
+ depends_on('r@3.0.2:', type=('build', 'run'))
+ depends_on('r-rcpp@0.11:', type=('build', 'run'))
+ depends_on('r-foreign', type=('build', 'run'))
+ depends_on('r-rcpparmadillo', type=('build', 'run'))