summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rcmdcheck/package.py
blob: b1fc06071db114b0677d9d60ab0e54c6c77b8fda (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
30
31
# Copyright 2013-2020 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 RRcmdcheck(RPackage):
    """Run 'R CMD check' from 'R' and capture the results of the individual
    checks. Supports running checks in the background, timeouts, pretty
    printing and comparing check results."""

    homepage = "https://github.com/r-Lib/rcmdcheck#readme"
    url      = "https://cloud.r-project.org/src/contrib/rcmdcheck_1.3.3.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/rcmdcheck"

    version('1.3.3', sha256='1ab679eb1976d74cd3be5bcad0af7fcc673dbdfd4406bbce32591c8fddfb93b4')

    depends_on('r-callr@3.1.1.9000:', type=('build', 'run'))
    depends_on('r-cli@1.1.0:', type=('build', 'run'))
    depends_on('r-crayon', type=('build', 'run'))
    depends_on('r-desc@1.2.0:', type=('build', 'run'))
    depends_on('r-digest', type=('build', 'run'))
    depends_on('r-pkgbuild', type=('build', 'run'))
    depends_on('r-prettyunits', type=('build', 'run'))
    depends_on('r-r6', type=('build', 'run'))
    depends_on('r-rprojroot', type=('build', 'run'))
    depends_on('r-sessioninfo@1.1.1:', type=('build', 'run'))
    depends_on('r-withr', type=('build', 'run'))
    depends_on('r-xopen', type=('build', 'run'))