summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-reordercluster/package.py
blob: 3c85ee3503ba306363f8c1cf83402b5ec8569935 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2019 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 RReordercluster(RPackage):
    """Tools for performing the leaf reordering for the dendrogram
    that preserves the hierarchical clustering result and at the
    same time tries to group instances from the same class together."""

    homepage = "https://cloud.r-project.org/package=ReorderCluster"
    url      = "https://cloud.r-project.org/src/contrib/ReorderCluster_1.0.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/ReorderCluster"

    version('1.0', sha256='a87898faa20380aac3e06a52eedcb2f0eb2b35ab74fdc3435d40ee9f1d28476b')

    depends_on('r@2.10:', type=('build', 'run'))
    depends_on('r-gplots', type=('build', 'run'))
    depends_on('r-rcpp@0.11.0:', type=('build', 'run'))