New package: r-ggthemes (#23045)

This commit is contained in:
Jen Herting 2021-04-16 23:28:05 -04:00 committed by GitHub
parent bf24bb3154
commit 3f94fee04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,31 @@
# Copyright 2013-2021 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 import *
class RGgthemes(RPackage):
"""ggthemes: 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."""
homepage = "https://jrnold.github.io/ggthemes/"
url = "https://cloud.r-project.org/src/contrib/ggthemes_4.2.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ggthemes"
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'))