summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-hdrcde/package.py
blob: ef8b6a88c465f09fa9ff985d59cb47f242d26d3e (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
# 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 RHdrcde(RPackage):
    """Highest Density Regions and Conditional Density Estimation.

    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"

    license("GPL-3.0-only")

    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"))