summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-cca/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-cca/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-cca/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-cca/package.py b/var/spack/repos/builtin/packages/r-cca/package.py
new file mode 100644
index 0000000000..6d9b15294f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-cca/package.py
@@ -0,0 +1,19 @@
+# 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)
+
+
+class RCca(RPackage):
+ """Provides a set of functions that extend the 'cancor' function
+ with new numerical and graphical outputs. It also include a
+ regularized extension of the canonical correlation analysis to
+ deal with datasets with more variables than observations."""
+
+ cran = 'CCA'
+
+ version('1.2.1', sha256='28febfce7c46039240346410e70f9d8795b536fc4e7e0d48d5370bd23cba9bd0')
+
+ depends_on('r@2.10:', type=('build', 'run'))
+ depends_on('r-fields', type=('build', 'run'))
+ depends_on('r-fda', type=('build', 'run'))