summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/r-generics/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/r-generics/package.py b/var/spack/repos/builtin/packages/r-generics/package.py
index 6da6887c8a..185e596b0e 100644
--- a/var/spack/repos/builtin/packages/r-generics/package.py
+++ b/var/spack/repos/builtin/packages/r-generics/package.py
@@ -13,10 +13,11 @@ class RGenerics(RPackage):
generics provides a number of commonly used S3 generics."""
homepage = "https://github.com/r-lib/generics"
- url = "https://cloud.r-project.org/src/contrib/generics_0.0.2.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/generics"
+ cran = "generics"
+ version('0.1.1', sha256='a2478ebf1a0faa8855a152f4e747ad969a800597434196ed1f71975a9eb11912')
version('0.1.0', sha256='ab71d1bdbb66c782364c61cede3c1186d6a94c03635f9af70d926e2c1ac88763')
version('0.0.2', sha256='71b3d1b719ce89e71dd396ac8bc6aa5f1cd99bbbf03faff61dfbbee32fec6176')
depends_on('r@3.1:', type=('build', 'run'))
+ depends_on('r@3.2:', when='@0.1.1:', type=('build', 'run'))