summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/r-lifecycle/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/r-lifecycle/package.py b/var/spack/repos/builtin/packages/r-lifecycle/package.py
index 32cf89d8cb..792823a470 100644
--- a/var/spack/repos/builtin/packages/r-lifecycle/package.py
+++ b/var/spack/repos/builtin/packages/r-lifecycle/package.py
@@ -19,11 +19,12 @@ class RLifecycle(RPackage):
verbosity."""
homepage = "https://lifecycle.r-lib.org/"
- url = "https://cloud.r-project.org/src/contrib/lifecycle_0.2.0.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/lifecycle"
+ cran = "lifecycle"
+ version('1.0.1', sha256='1da76e1c00f1be96ca34e122ae611259430bf99d6a1b999fdef70c00c30f7ba0')
version('0.2.0', sha256='29746e8dee05d4e36f9c612e8c7a903a4f648a36b3b94c9776e518c38a412224')
depends_on('r@3.2:', type=('build', 'run'))
+ depends_on('r@3.3:', when='@1:', type=('build', 'run'))
depends_on('r-glue', type=('build', 'run'))
depends_on('r-rlang@0.4.0:', type=('build', 'run'))