summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorNeil Flood <neilflood@fastmail.fm>2018-11-24 10:06:57 +1000
committerAdam J. Stewart <ajstewart426@gmail.com>2018-11-23 18:06:57 -0600
commit2e510413c39813e292ab29716692549a1101b8cb (patch)
treed45b6acd712c8dd02a94c86abe3644e4f992597e /var
parent3557b6e14903c02bcc0a19b34c8b4c64f3d05ca3 (diff)
downloadspack-2e510413c39813e292ab29716692549a1101b8cb.tar.gz
spack-2e510413c39813e292ab29716692549a1101b8cb.tar.bz2
spack-2e510413c39813e292ab29716692549a1101b8cb.tar.xz
spack-2e510413c39813e292ab29716692549a1101b8cb.zip
r-compositions: new package, including its dependencies (#9921)
* r-compositions: new package, including its dependencies * Include the list_url for the R package archive dir * Added explicit version ranges on dependencies, as per the relevant CRAN pages
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-bayesm/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-compositions/package.py22
-rw-r--r--var/spack/repos/builtin/packages/r-energy/package.py19
3 files changed, 61 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-bayesm/package.py b/var/spack/repos/builtin/packages/r-bayesm/package.py
new file mode 100644
index 0000000000..13b869be89
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-bayesm/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2018 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 RBayesm(RPackage):
+ """Bayesian Inference for Marketing/Micro-Econometrics"""
+
+ homepage = "https://cran.r-project.org/web/packages/bayesm/index.html"
+ url = "https://cran.r-project.org/src/contrib/bayesm_3.1-0.1.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/bayesm"
+
+ version('3.1-0.1', '34998382cafd3e7972d8a03245eac768')
+
+ depends_on('r@3.2.0:', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.0:', type=('build', 'run'))
+ depends_on('r-rcpparmadillo', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-compositions/package.py b/var/spack/repos/builtin/packages/r-compositions/package.py
new file mode 100644
index 0000000000..db55674ef2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-compositions/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2018 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 RCompositions(RPackage):
+ """Compositional Data Analysis"""
+
+ homepage = "https://cran.r-project.org/web/packages/compositions/index.html"
+ url = "https://cran.r-project.org/src/contrib/compositions_1.40-2.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/compositions"
+
+ version('1.40-2', 'ad87efe2fb303d95472e73c8ca8d9a01')
+
+ depends_on('r@2.2.0:', type=('build', 'run'))
+ depends_on('r-tensora', type=('build', 'run'))
+ depends_on('r-robustbase', type=('build', 'run'))
+ depends_on('r-energy', type=('build', 'run'))
+ depends_on('r-bayesm', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-energy/package.py b/var/spack/repos/builtin/packages/r-energy/package.py
new file mode 100644
index 0000000000..e1faa2321c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-energy/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2018 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 REnergy(RPackage):
+ """E-Statistics: Multivariate Inference via the Energy of Data"""
+
+ homepage = "https://cran.r-project.org/web/packages/energy/index.html"
+ url = "https://cran.r-project.org/src/contrib/energy_1.7-5.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/energy"
+
+ version('1.7-5', 'd13c76c26b5221ba29aade6a824f32d6')
+
+ depends_on('r-rcpp@0.12.6:', type=('build', 'run'))
+ depends_on('r-boot', type=('build', 'run'))