diff options
author | Jen Herting <jen@herting.cc> | 2021-08-05 18:12:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-05 17:12:15 -0500 |
commit | 2aea624dca5e05028529f7ff5d480d100764c226 (patch) | |
tree | db644c5a9c3322c254a0bf3a4f06dec471522721 | |
parent | 0053117ac8cefc9db3556bd1b25e7626c64f1e9b (diff) | |
download | spack-2aea624dca5e05028529f7ff5d480d100764c226.tar.gz spack-2aea624dca5e05028529f7ff5d480d100764c226.tar.bz2 spack-2aea624dca5e05028529f7ff5d480d100764c226.tar.xz spack-2aea624dca5e05028529f7ff5d480d100764c226.zip |
New package: r-elemstatlearn (#25276)
-rw-r--r-- | var/spack/repos/builtin/packages/r-elemstatlearn/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-elemstatlearn/package.py b/var/spack/repos/builtin/packages/r-elemstatlearn/package.py new file mode 100644 index 0000000000..b42a4b67ca --- /dev/null +++ b/var/spack/repos/builtin/packages/r-elemstatlearn/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2021 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 RElemstatlearn(RPackage): + """ElemStatLearn: Data Sets, Functions and Examples from the Book: "The + Elements of Statistical Learning, Data Mining, Inference, and Prediction" by + Trevor Hastie, Robert Tibshirani and Jerome Friedman""" + + homepage = "https://cloud.r-project.org/package=ElemStatLearn" + url = "https://cloud.r-project.org/src/contrib/Archive/ElemStatLearn/ElemStatLearn_2015.6.26.2.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/ElemStatLearn" + + version('2015.6.26.2', sha256='a0f94a72f6188a0a5c855e3362b6b849bf7fd14efc2d824a8d2581f8bb1bd7fa') + + depends_on('r@2.10.0:', type=('build', 'run')) |