summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-progress/package.py
blob: b5df6a10ff4bffa2b119c9046ace666a974fcdbd (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
# Copyright 2013-2023 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 RProgress(RPackage):
    """Terminal Progress Bars.

    Configurable Progress bars, they may include percentage, elapsed time,
    and/or the estimated completion time. They work in terminals, in 'Emacs'
    'ESS', 'RStudio', 'Windows' 'Rgui' and the 'macOS' 'R.app'.  The package
    also provides a 'C++' 'API', that works with or without 'Rcpp'."""

    cran = "progress"

    license("MIT")

    version("1.2.2", sha256="b4a4d8ed55db99394b036a29a0fb20b5dd2a91c211a1d651c52a1023cc58ff35")
    version("1.2.1", sha256="7401e86ff76bef4d26508b74ee8bd169a0377b2738d9ec79ebff0b7fd5c55326")
    version("1.1.2", sha256="a9f4abfd9579b80967cd681041643fe9dfcc4eb3beeba45391bb64e9209baabb")

    depends_on("r-r6", type=("build", "run"))
    depends_on("r-prettyunits", type=("build", "run"))
    depends_on("r-hms", type=("build", "run"), when="@1.2.0:")
    depends_on("r-crayon", type=("build", "run"), when="@1.2.0:")