diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-12-08 09:06:53 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-08 09:06:53 -0600 |
commit | c72568d01b9ceda21cd86c288ac1672c58cc34ec (patch) | |
tree | 138dfee0586747a5113034e022f995d9ae9f2ce3 /var | |
parent | bf9661f18a1cecddfd83f8f2d8931ed2a03b9323 (diff) | |
download | spack-c72568d01b9ceda21cd86c288ac1672c58cc34ec.tar.gz spack-c72568d01b9ceda21cd86c288ac1672c58cc34ec.tar.bz2 spack-c72568d01b9ceda21cd86c288ac1672c58cc34ec.tar.xz spack-c72568d01b9ceda21cd86c288ac1672c58cc34ec.zip |
Add new r-earth package (#14049)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/r-earth/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-earth/package.py b/var/spack/repos/builtin/packages/r-earth/package.py new file mode 100644 index 0000000000..f7880194d4 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-earth/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class REarth(RPackage): + """earth: Multivariate Adaptive Regression Splines. + + Build regression models using the techniques in Friedman's papers + "Fast MARS" and "Multivariate Adaptive Regression Splines" + <doi:10.1214/aos/1176347963>.""" + + homepage = "http://www.milbo.users.sonic.net/earth" + 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.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-teachingdemos@2.10:', type=('build', 'run')) |