summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-09-26 22:53:03 -0400
committerGitHub <noreply@github.com>2021-09-27 02:53:03 +0000
commit514d04c8f1a700c62c2438c42bfbc3b91b510df7 (patch)
tree614c33556698f8be2275c5a3eb2670e35b0f11e1 /var
parent87e91178a6036f90474af71c8b46ba42eaece1f2 (diff)
downloadspack-514d04c8f1a700c62c2438c42bfbc3b91b510df7.tar.gz
spack-514d04c8f1a700c62c2438c42bfbc3b91b510df7.tar.bz2
spack-514d04c8f1a700c62c2438c42bfbc3b91b510df7.tar.xz
spack-514d04c8f1a700c62c2438c42bfbc3b91b510df7.zip
New package: r-klar (#25390)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-klar/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-klar/package.py b/var/spack/repos/builtin/packages/r-klar/package.py
new file mode 100644
index 0000000000..4cbcca5004
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-klar/package.py
@@ -0,0 +1,28 @@
+# 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 RKlar(RPackage):
+ """Miscellaneous functions for classification and visualization, e.g.
+ regularized discriminant analysis, sknn() kernel-density naive Bayes, an
+ interface to 'svmlight' and stepclass() wrapper variable selection for
+ supervised classification, partimat() visualization of classification rules
+ and shardsplot() of cluster results as well as kmodes() clustering for
+ categorical data, corclust() variable clustering, variable extraction from
+ different variable clustering models and weight of evidence
+ preprocessing."""
+
+ homepage = "https://cloud.r-project.org/package=klaR"
+ url = "https://cloud.r-project.org/src/contrib/klaR_0.6-15.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/klaR"
+
+ version('0.6-15', sha256='5bfe5bc643f8a64b222317732c26e9f93be297cdc318a869f15cc9ab0d9e0fae')
+
+ depends_on('r@2.10.0:', type=('build', 'run'))
+ depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-combinat', type=('build', 'run'))
+ depends_on('r-questionr', type=('build', 'run'))