summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-reshape2/package.py
blob: ac424cd4f3697055e103942fb88fc974af5cc69b (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-2018 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 RReshape2(RPackage):
    """Flexibly restructure and aggregate data using just two functions: melt
    and dcast (or acast)."""

    homepage = "https://github.com/hadley/reshape"
    url      = "https://cran.r-project.org/src/contrib/reshape2_1.4.2.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/reshape2"

    version('1.4.2', 'c851a0312191b8c5bab956445df7cf5f')
    version('1.4.1', '41e9dffdf5c6fa830321ac9c8ebffe00')

    depends_on('r-plyr', type=('build', 'run'))
    depends_on('r-stringr', type=('build', 'run'))
    depends_on('r-rcpp', type=('build', 'run'))