summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-packrat/package.py
blob: 427843d0806a4ea5be1ae785ad182e84a9aa1abf (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 RPackrat(RPackage):
    """Manage the R packages your project depends on in an isolated, portable,
    and reproducible way."""

    homepage = "https://github.com/rstudio/packrat/"
    url      = "https://cloud.r-project.org/src/contrib/packrat_0.4.7-1.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/packrat"

    version('0.5.0', sha256='d6a09290fbe037a6c740921c5dcd70b500e5b36e4713eae4010adf0c456bc5f7')
    version('0.4.9-3', sha256='87299938a751defc54eb00a029aecd3522d6349d900aaa8b3e1aa6bf31e98234')
    version('0.4.8-1', '14e82feba55fcda923396282fc490038')
    version('0.4.7-1', '80c2413269b292ade163a70ba5053e84')

    depends_on('r@3.0.0:', type=('build', 'run'))