diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/r-compositions/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/r-compositions/package.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/r-compositions/package.py b/var/spack/repos/builtin/packages/r-compositions/package.py index 1ac3a5fe6d..5e2aaf562b 100644 --- a/var/spack/repos/builtin/packages/r-compositions/package.py +++ b/var/spack/repos/builtin/packages/r-compositions/package.py @@ -7,22 +7,23 @@ from spack import * class RCompositions(RPackage): - """Compositional Data Analysis + """Compositional Data Analysis. Provides functions for the consistent analysis of compositional data (e.g. portions of substances) and positive numbers (e.g. concentrations) in the way proposed by J. Aitchison and V. Pawlowsky-Glahn.""" - homepage = "https://cloud.r-project.org/package=compositions" - url = "https://cloud.r-project.org/src/contrib/compositions_1.40-2.tar.gz" - list_url = "https://cloud.r-project.org/src/contrib/Archive/compositions" + cran = "compositions" + version('2.0-4', sha256='7b9c7a3bf654fb02d9eb1b4a7566469b2f5232f3b2c1b324c02239fd31060faf') version('2.0-1', sha256='84a291308faf858e5a9d9570135c2da5e57b0887f407903485fa85d09da61a0f') version('1.40-2', sha256='110d71ae000561987cb73fc76cd953bd69d37562cb401ed3c36dca137d01b78a') depends_on('r@2.2.0:', type=('build', 'run')) + depends_on('r@3.6:', type=('build', 'run'), when='@2.0-4:') depends_on('r-tensora', type=('build', 'run')) depends_on('r-robustbase', type=('build', 'run')) depends_on('r-bayesm', type=('build', 'run')) - depends_on('r-mass', when='@2.0-1:', type=('build', 'run')) - depends_on('r-energy', when='@:1.40-2', type=('build', 'run')) + depends_on('r-mass', type=('build', 'run'), when='@2.0-1:') + + depends_on('r-energy', type=('build', 'run'), when='@:1.40-2') |