summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-dendextend/package.py
blob: 60705fde311f735cf284043225813bd326212ab8 (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
# Copyright 2013-2024 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 RDendextend(RPackage):
    """Extending 'Dendrogram' Functionality in R.

    Offers a set of functions for extending 'dendrogram' objects in R, letting
    you visualize and compare trees of 'hierarchical clusterings'. You can (1)
    Adjust a tree's graphical parameters - the color, size, type, etc of its
    branches, nodes and labels. (2) Visually and statistically compare
    different 'dendrograms' to one another."""

    cran = "dendextend"

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

    version("1.17.1", sha256="87e96e119e7236b4f5df1c6f1b0d4d4e12aab606a2142e039f56d8ec71f9e521")
    version("1.16.0", sha256="ec2fd09c31a2a93292d87a9bd5bfc261840de941dfded79d6c2fe87116708466")
    version("1.15.2", sha256="4ba3885b66694589d455ffef31c218fe653fa25aff3efb7e8db6c25008d2921b")
    version("1.14.0", sha256="3789461bc474e146b077ad26566b1fa05be32fc7e57ab1fb5e78bdabcc797858")
    version("1.12.0", sha256="b487fed8c1878a23b9e28394ee11f16a1831b76c90793eb486e6963c7162fa55")
    version("1.10.0", sha256="88f0fb3362d69144daf4f35d0ea09f32c2df1adf614e040327a42552a8fd3224")
    version("1.5.2", sha256="8228cf9cfd31ec30038aaa61a35959179bad748582d796999cd9ad78152a5f12")

    depends_on("r@3.0.0:", type=("build", "run"))
    depends_on("r-magrittr@1.0.1:", type=("build", "run"))
    depends_on("r-ggplot2", type=("build", "run"))
    depends_on("r-viridis", type=("build", "run"))

    depends_on("r-fpc", type=("build", "run"), when="@:1.10.0")
    depends_on("r-whisker", type=("build", "run"), when="@:1.5.2")