summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rcmdcheck/package.py
blob: 37dc7a2e0683335e91dc6897074990d92437eabb (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
32
33
34
35
36
37
# Copyright 2013-2024 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.package import *


class RRcmdcheck(RPackage):
    """Run 'R CMD check' from 'R' and Capture Results.

    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."""

    cran = "rcmdcheck"

    license("MIT")

    version("1.4.0", sha256="bbd4ef7d514b8c2076196a7c4a6041d34623d55fbe73f2771758ce61fd32c9d0")
    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-cli@3.0.0:", type=("build", "run"), when="@1.4.0:")
    depends_on("r-curl", type=("build", "run"), when="@1.4.0:")
    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"))

    depends_on("r-crayon", type=("build", "run"), when="@:1.3.3")