summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-viridislite/package.py
blob: 4b6a08da391eb32826c20f2bb74f9558f536c838 (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
# 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 RViridislite(RPackage):
    """Colorblind-Friendly Color Maps (Lite Version).

    Color maps designed to improve graph readability for readers with common
    forms of color blindness and/or color vision deficiency. The color maps are
    also perceptually-uniform, both in regular form and also when converted to
    black-and-white for printing. This is the 'lite' version of the 'viridis'
    package that also contains 'ggplot2' bindings for discrete and continuous
    color and fill scales and can be found at
    <https://cran.r-project.org/package=viridis>."""

    cran = "viridisLite"

    version("0.4.1", sha256="a896db1ccae5fc1a8b3764d02f24cef74ef7a8341cf9f3401c4efe799870ea97")
    version("0.4.0", sha256="849955dc8ad9bc52bdc50ed4867fd92a510696fc8294e6971efa018437c83c6a")
    version("0.3.0", sha256="780ea12e7c4024d5ba9029f3a107321c74b8d6d9165262f6e64b79e00aa0c2af")
    version("0.2.0", sha256="2d4d909f21c51e720bd685f05041ba158294e0a4064e0946d0bd916709818694")

    depends_on("r@2.10:", type=("build", "run"))