summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-covr/package.py
blob: 404543baa12e87aa22b574644c0d51b018d9d1ae (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
# 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 RCovr(RPackage):
    """Track and report code coverage for your package and (optionally)
    upload the results to a coverage service like 'Codecov'
    <http://codecov.io> or 'Coveralls' <http://coveralls.io>. Code
    coverage is a measure of the amount of code being exercised by a
    set of tests. It is an indirect measure of test quality and
    completeness. This package is compatible with any testing methodology
    or framework and tracks coverage of both R code and compiled
    C/C++/FORTRAN code."""

    homepage = "https://cran.r-project.org/package=covr"
    url      = "https://cran.r-project.org/src/contrib/covr_3.0.1.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/covr"

    version('3.0.1', 'f88383f751fe5aa830a2b2e5c14aa66a')

    depends_on('r-jsonlite', type=('build', 'run'))
    depends_on('r-rex', type=('build', 'run'))
    depends_on('r-httr', type=('build', 'run'))
    depends_on('r-crayon', type=('build', 'run'))
    depends_on('r-withr', type=('build', 'run'))