summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-ks/package.py
blob: 8ddf2f9454ff49589f60b7bef9f1c40741c70eec (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
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 2013-2023 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 RKs(RPackage):
    """Kernel Smoothing.

    Kernel smoothers for univariate and multivariate data, including densities,
    density derivatives, cumulative distributions, clustering, classification,
    density ridges, significant modal regions, and two-sample hypothesis tests.
    Chacon & Duong (2018) <doi:10.1201/9780429485572>."""

    cran = "ks"

    license("GPL-2.0-only OR GPL-3.0-only")

    version("1.14.0", sha256="2db9c56b7b0217b324bbf1e0f66bb94d3f7067a75c5823cbc7d369d63bbb4391")
    version("1.13.5", sha256="d1c4d06d704f301628455787ba929add1e774debc343d0952a768abea6cc7815")
    version("1.13.3", sha256="defb80df665d987f1751899f7a9809cb5a770f3c74266d7fbc7b9493616dce73")
    version("1.11.7", sha256="6a6d9c2366e85a4c6af39b798f3798d20a42615ddfcebcedf6cf56087cdfd2b8")
    version("1.11.5", sha256="4f65565376391b8a6dcce76168ef628fd4859dba8496910cbdd54e4f88e8d51b")
    version("1.11.4", sha256="0beffaf8694819fba8c93af07a8782674a15fe00a04ad1d94d31238d0a41b134")
    version("1.11.2", sha256="9dfd485096e1e67abc7dfcb7b76a83de110dd15bcfeffe5c899605b3a5592961")

    depends_on("r@2.10:", type=("build", "run"))
    depends_on("r@2.10.0:", type=("build", "run"), when="@1.14.0:")
    depends_on("r-fnn@1.1:", type=("build", "run"))
    depends_on("r-kernlab", type=("build", "run"))
    depends_on("r-kernsmooth@2.22:", type=("build", "run"))
    depends_on("r-matrix", type=("build", "run"))
    depends_on("r-mclust", type=("build", "run"))
    depends_on("r-mgcv", type=("build", "run"))
    depends_on("r-multicool", type=("build", "run"))
    depends_on("r-mvtnorm@1.0-0:", type=("build", "run"))
    depends_on("r-plot3d", type=("build", "run"), when="@1.13.3:")
    depends_on("r-pracma", type=("build", "run"), when="@1.13.3:")