summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-ggthemes/package.py
blob: a2689071ebba1390bd9193266e4aa1fc3a6e8a75 (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
# 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 RGgthemes(RPackage):
    """Extra Themes, Scales and Geoms for 'ggplot2'.

    Some extra themes, geoms, and scales for 'ggplot2'. Provides 'ggplot2'
    themes and scales that replicate the look of plots by Edward Tufte, Stephen
    Few, 'Fivethirtyeight', 'The Economist', 'Stata', 'Excel', and 'The Wall
    Street Journal', among others. Provides 'geoms' for Tufte's box plot and
    range frame."""

    cran = "ggthemes"

    license("GPL-2.0-only")

    version("4.2.4", sha256="7b35168cf5b68f6f52dd533a1b345ec87e09d1a85ca68e8dc5377cdf95718567")
    version("4.2.0", sha256="5bb3fe94819fe2cce7865f07a6e6ea5c59d3996f78d1c0836ad406f69efb3367")

    depends_on("r@3.3.0:", type=("build", "run"))
    depends_on("r-ggplot2@3.0.0:", type=("build", "run"))
    depends_on("r-purrr", type=("build", "run"))
    depends_on("r-scales", type=("build", "run"))
    depends_on("r-stringr", type=("build", "run"))
    depends_on("r-tibble", type=("build", "run"))