summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-fda/package.py
blob: e84c3580d99a0e52c76927137594109973b7839f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 2013-2022 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.package import *


class RFda(RPackage):
    """Functional Data Analysis.

    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('6.0.3', sha256='205814b9812664e8201221f99e0e8391aa49dba2ae287dc404c57c0c492477d3')
    version('5.5.1', sha256='dcaa2f6ae226d35855bc79c6967f60d45404b984c0afaec215b139c4b8dea23a')

    depends_on('r@3.5:', type=('build', 'run'))
    depends_on('r-fds', type=('build', 'run'))
    depends_on('r-desolve', type=('build', 'run'))

    depends_on('r-matrix', type=('build', 'run'), when='@5.5.1')