summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-testthat/package.py
blob: 49d31da8c63b52e68a27f901dd1a5135b1fdba13 (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
# 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 RTestthat(RPackage):
    """A unit testing system designed to be fun, flexible and easy to set
    up."""

    homepage = "https://github.com/hadley/testthat"
    url      = "https://cran.r-project.org/src/contrib/testthat_1.0.2.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/testthat"

    version('1.0.2', '6c6a90c8db860292df5784a70e07b8dc')

    depends_on('r-digest', type=('build', 'run'))
    depends_on('r-crayon', type=('build', 'run'))
    depends_on('r-praise', type=('build', 'run'))
    depends_on('r-magrittr', type=('build', 'run'))
    depends_on('r-r6', type=('build', 'run'))