From 4d8eb48a40511f0d80859bef69b82bbe7ac4dc57 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Sat, 16 Jan 2021 08:17:47 -0600 Subject: [PATCH] add version 5.3.0 to r-earth (#20948) --- var/spack/repos/builtin/packages/r-earth/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/r-earth/package.py b/var/spack/repos/builtin/packages/r-earth/package.py index 80d95fb752..69e0c81ae0 100644 --- a/var/spack/repos/builtin/packages/r-earth/package.py +++ b/var/spack/repos/builtin/packages/r-earth/package.py @@ -7,7 +7,7 @@ class REarth(RPackage): - """earth: Multivariate Adaptive Regression Splines. + """Multivariate Adaptive Regression Splines. Build regression models using the techniques in Friedman's papers "Fast MARS" and "Multivariate Adaptive Regression Splines" @@ -17,9 +17,11 @@ class REarth(RPackage): url = "https://cloud.r-project.org/src/contrib/earth_5.1.2.tar.gz" list_url = "https://cloud.r-project.org/src/contrib/Archive/earth" + version('5.3.0', sha256='05ace806271a74b3ddf8718a93237fe2a8550a8659ebd87f8079c0bda5e02437') version('5.1.2', sha256='326f98e8c29365ca3cd5584cf2bd6529358f5ef81664cbd494162f92b6c3488d') depends_on('r@3.4.0:', type=('build', 'run')) depends_on('r-formula@1.2-3:', type=('build', 'run')) depends_on('r-plotmo@3.5.4:', type=('build', 'run')) + depends_on('r-plotmo@3.6.0:', when='@5.3.0', type=('build', 'run')) depends_on('r-teachingdemos@2.10:', type=('build', 'run'))