summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-pls/package.py
blob: 51c83e32a3c1504759d69cb915a978546f843ffc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2018 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 RPls(RPackage):
    """Multivariate regression methods Partial Least Squares Regression (PLSR),
    Principal Component Regression (PCR) and Canonical Powered Partial Least
    Squares (CPPLS)."""

    homepage = "https://cran.r-project.org/package=pls"
    url      = "https://cran.r-project.org/src/contrib/pls_2.6-0.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/pls"

    version('2.6-0', '04e02e8e46d983c5ed53c1f952b329df')

    depends_on('r@2.10:')