summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmjad Kotobi <amjadkotbi@gmail.com>2020-05-27 19:49:32 +0200
committerPeter Scheibel <scheibel1@llnl.gov>2020-05-30 00:15:50 -0700
commit857d2c915018f6d9e3c8c65dd2b9f0308724d03d (patch)
tree72f72e704dd2ff0b0c363929e7023676d26dcc2f
parent3cc0e1a333eb52d22039ab049b1d3d384d833ee6 (diff)
downloadspack-857d2c915018f6d9e3c8c65dd2b9f0308724d03d.tar.gz
spack-857d2c915018f6d9e3c8c65dd2b9f0308724d03d.tar.bz2
spack-857d2c915018f6d9e3c8c65dd2b9f0308724d03d.tar.xz
spack-857d2c915018f6d9e3c8c65dd2b9f0308724d03d.zip
r-lfe: New package
-rw-r--r--var/spack/repos/builtin/packages/r-lfe/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-lfe/package.py b/var/spack/repos/builtin/packages/r-lfe/package.py
new file mode 100644
index 0000000000..08d061330d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-lfe/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2019 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 RLfe(AutotoolsPackage):
+ """Transforms away factors with many levels prior to doing an OLS"""
+
+ homepage = "https://cloud.r-project.org/package=lfe"
+ url = "https://cloud.r-project.org/src/contrib/lfe_2.8-5.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/lfe"
+
+ version('2.8-5', sha256='fd80c573d334594db933ff38f67bd4c9f899aaf648c3bd68f19477a0059723c2')
+ version('2.8-4', sha256='ee5f6e312214aa73e285ae84a6bdf49ba10e830f1a68ffded2fea2e532f2cd6a')
+
+ depends_on('r@2.15.2:', type=('build', 'run'))
+ depends_on('r-matrix@1.1-2:', type=('build', 'run'))
+ depends_on('r-formula', type=('build', 'run'))
+ depends_on('r-xtable', type=('build', 'run'))
+ depends_on('r-sandwich', type=('build', 'run'))