summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-projpred/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-projpred/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-projpred/package.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/r-projpred/package.py b/var/spack/repos/builtin/packages/r-projpred/package.py
index 13722be2a3..dca6ff8b4d 100644
--- a/var/spack/repos/builtin/packages/r-projpred/package.py
+++ b/var/spack/repos/builtin/packages/r-projpred/package.py
@@ -19,6 +19,7 @@ class RProjpred(RPackage):
cran = "projpred"
+ version('2.1.2', sha256='a88a651e533c118aad0e8c2c905cfcf688d9c419ed195896036b8f6667b5cfb0')
version('2.0.2', sha256='af0a9fb53f706090fe81b6381b27b0b6bd3f7ae1e1e44b0ada6f40972b09a55b')
depends_on('r@3.5.0:', type=('build', 'run'))
@@ -26,13 +27,16 @@ class RProjpred(RPackage):
depends_on('r-loo@2.0.0:', type=('build', 'run'))
depends_on('r-rstantools@2.0.0:', type=('build', 'run'))
depends_on('r-lme4', type=('build', 'run'))
- depends_on('r-optimx', type=('build', 'run'))
+ depends_on('r-mvtnorm', type=('build', 'run'), when='@2.1.2:')
depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-rcpp', type=('build', 'run'))
- depends_on('r-rngtools@1.2.4:', type=('build', 'run'))
- depends_on('r-tidyverse', type=('build', 'run'))
- depends_on('r-mass', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-mgcv', type=('build', 'run'))
depends_on('r-gamm4', type=('build', 'run'))
+ depends_on('r-rlang', type=('build', 'run'), when='@2.1.2:')
depends_on('r-rcpparmadillo', type=('build', 'run'))
+
+ depends_on('r-optimx', type=('build', 'run'), when='@:2.0.2')
+ depends_on('r-rngtools@1.2.4:', type=('build', 'run'), when='@:2.0.2')
+ depends_on('r-tidyverse', type=('build', 'run'), when='@:2.0.2')
+ depends_on('r-mass', type=('build', 'run'), when='@:2.0.2')