summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-ggsci/package.py
blob: 45a6fff78973367354c21a437e290c3eda9592f8 (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 RGgsci(RPackage):
    """Scientific Journal and Sci-Fi Themed Color Palettes for 'ggplot2'.

    collection of 'ggplot2' color palettes inspired by plots in scientific
    journals, data visualization libraries, science fiction movies, and TV
    shows."""

    cran = "ggsci"

    license("GPL-3.0-or-later")

    version("3.0.0", sha256="8901316516d78f82a2a8685d93ba479424bcfd8cb5e28a28adbd50e68964e129")
    version("2.9", sha256="4af14e6f3657134c115d5ac5e65a2ed74596f9a8437c03255447cd959fe9e33c")
    version("2.8", sha256="b4ce7adce7ef23edf777866086f98e29b2b45b58fed085bbd1ffe6ab52d74ae8")
    version("2.4", sha256="9682c18176fee8e808c68062ec918aaef630d4d833e7a0bd6ae6c63553b56f00")

    depends_on("r@3.0.2:", type=("build", "run"))
    depends_on("r@3.5.0:", type=("build", "run"), when="@3.0.0:")
    depends_on("r-scales", type=("build", "run"))
    depends_on("r-ggplot2@2.0.0:", type=("build", "run"))