diff options
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')) |