summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-08-16 13:42:48 -0400
committerGitHub <noreply@github.com>2021-08-16 12:42:48 -0500
commit1fd15703cdc3de96f4289f4802cf30c1f070117d (patch)
treef1aaf88a32da122b92c53a1b471edf3b5b0ae0dd /var
parent538744c9ac0adfed0203c36b23f4bd410e16cc7c (diff)
downloadspack-1fd15703cdc3de96f4289f4802cf30c1f070117d.tar.gz
spack-1fd15703cdc3de96f4289f4802cf30c1f070117d.tar.bz2
spack-1fd15703cdc3de96f4289f4802cf30c1f070117d.tar.xz
spack-1fd15703cdc3de96f4289f4802cf30c1f070117d.zip
New package: r-islr (#25389)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-islr/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-islr/package.py b/var/spack/repos/builtin/packages/r-islr/package.py
new file mode 100644
index 0000000000..e5996a98f6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-islr/package.py
@@ -0,0 +1,22 @@
+# 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 RIslr(RPackage):
+ """ISLR: Data for an Introduction to Statistical Learning with Applications
+ in R
+
+ We provide the collection of data-sets used in the book 'An Introduction to
+ Statistical Learning with Applications in R'."""
+
+ homepage = "https://cloud.r-project.org/package=ISLR"
+ url = "https://cloud.r-project.org/src/contrib/ISLR_1.2.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/ISLR"
+
+ version('1.2', sha256='b00f7a06d2fb646917e629cc2dbdab71c7de3eb17a8a4d06849901a299f1caad')
+
+ depends_on('r@2.10:', type=('build', 'run'))