summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2022-01-04 13:41:21 -0500
committerGitHub <noreply@github.com>2022-01-04 11:41:21 -0700
commitdc1b6aa8c65107e6a4853f3724ab14e2245cbcb5 (patch)
tree395ac2914a321860789f5c0c524c49cbb8d65e93
parentb924a5db149d101a8155e18a7170eb38d89bc59e (diff)
downloadspack-dc1b6aa8c65107e6a4853f3724ab14e2245cbcb5.tar.gz
spack-dc1b6aa8c65107e6a4853f3724ab14e2245cbcb5.tar.bz2
spack-dc1b6aa8c65107e6a4853f3724ab14e2245cbcb5.tar.xz
spack-dc1b6aa8c65107e6a4853f3724ab14e2245cbcb5.zip
new package: r-cca and dependencies (#28229)
Co-authored-by: Andrew W Elble <aweits@skl-a-00.rc.rit.edu>
-rw-r--r--var/spack/repos/builtin/packages/r-ash/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-cca/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-fda/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-fds/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-hdrcde/package.py22
-rw-r--r--var/spack/repos/builtin/packages/r-rainbow/package.py20
6 files changed, 109 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-ash/package.py b/var/spack/repos/builtin/packages/r-ash/package.py
new file mode 100644
index 0000000000..a44b25b652
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-ash/package.py
@@ -0,0 +1,12 @@
+# 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 RAsh(RPackage):
+ """David Scott's ASH routines ported from S-PLUS to R."""
+
+ cran = 'ash'
+
+ version('1.0-15', sha256='8b0a7bc39dd0ce2172f09edc5b5e029347d041a4d508bbff3f3fd6f69450c2ab')
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'))
diff --git a/var/spack/repos/builtin/packages/r-fda/package.py b/var/spack/repos/builtin/packages/r-fda/package.py
new file mode 100644
index 0000000000..88ef8b022f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-fda/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)
+
+
+class RFda(RPackage):
+ """These functions were developed to support functional data
+ analysis as described in Ramsay, J. O. and Silverman, B. W. (2005)
+ Functional Data Analysis. New York: Springer and in Ramsay, J. O.,
+ Hooker, Giles, and Graves, Spencer (2009). """
+
+ cran = 'fda'
+
+ version('5.5.1', sha256='dcaa2f6ae226d35855bc79c6967f60d45404b984c0afaec215b139c4b8dea23a')
+
+ depends_on('r@3.5:', type=('build', 'run'))
+ depends_on('r-matrix', type=('build', 'run'))
+ depends_on('r-fds', type=('build', 'run'))
+ depends_on('r-desolve', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-fds/package.py b/var/spack/repos/builtin/packages/r-fds/package.py
new file mode 100644
index 0000000000..21826183ed
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-fds/package.py
@@ -0,0 +1,16 @@
+# 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 RFds(RPackage):
+ """Functional data sets."""
+
+ cran = 'fds'
+
+ version('1.8', sha256='203a5e7671e542dcb83d4c75d0f4012aaebc32d54f94657afaf9e71e99dd0489')
+
+ depends_on('r@3.4.0:', type=('build', 'run'))
+ depends_on('r-rcurl', type=('build', 'run'))
+ depends_on('r-rainbow', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-hdrcde/package.py b/var/spack/repos/builtin/packages/r-hdrcde/package.py
new file mode 100644
index 0000000000..ed22e5af3c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-hdrcde/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)
+
+
+class RHdrcde(RPackage):
+ """Computation of highest density regions in one and two
+ dimensions, kernel estimation of univariate density functions
+ conditional on one covariate,and multimodal regression."""
+
+ cran = 'hdrcde'
+
+ version('3.4', sha256='4341c6a021da46dcae3b1ef6d580e84dcf625c2b2139f537d0c26ec90899149b')
+
+ depends_on('r@2.15:', type=('build', 'run'))
+ depends_on('r-locfit', type=('build', 'run'))
+ depends_on('r-ash', type=('build', 'run'))
+ depends_on('r-ks', type=('build', 'run'))
+ depends_on('r-kernsmooth', type=('build', 'run'))
+ depends_on('r-ggplot2', type=('build', 'run'))
+ depends_on('r-rcolorbrewer', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rainbow/package.py b/var/spack/repos/builtin/packages/r-rainbow/package.py
new file mode 100644
index 0000000000..e595a8c6b0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-rainbow/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)
+
+
+class RRainbow(RPackage):
+ """Visualizing functional data and identifying functional outliers."""
+
+ cran = 'rainbow'
+
+ version('3.6', sha256='63d1246f88a498f3db0321b46a552163631b288a25b24400935db41326636e87')
+
+ depends_on('r@3.4.0:', type=('build', 'run'))
+ depends_on('r-pcapp', type=('build', 'run'))
+ depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-hdrcde', type=('build', 'run'))
+ depends_on('r-cluster', type=('build', 'run'))
+ depends_on('r-colorspace', type=('build', 'run'))
+ depends_on('r-ks', type=('build', 'run'))