26 lines
1.0 KiB
Python
26 lines
1.0 KiB
Python
# Copyright 2013-2022 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 RPatchwork(RPackage):
|
|
"""The Composer of Plots.
|
|
|
|
The 'ggplot2' package provides a strong API for sequentially building up a
|
|
plot, but does not concern itself with composition of multiple plots.
|
|
'patchwork' is a package that expands the API to allow for arbitrarily
|
|
complex composition of plots by, among others, providing mathematical
|
|
operators for combining multiple plots. Other packages that try to address
|
|
this need (but with a different approach) are 'gridExtra' and 'cowplot'."""
|
|
|
|
cran = "patchwork"
|
|
|
|
version("1.1.2", sha256="dab9d5d2d704d591717eaa6efeacf09cb6cd7bee2ca2c46d18414e8503ac8977")
|
|
version("1.1.1", sha256="cf0d7d9f92945729b499d6e343441c55007d5b371206d5389b9e5154dc7cf481")
|
|
|
|
depends_on("r-ggplot2@3.0.0:", type=("build", "run"))
|
|
depends_on("r-gtable", type=("build", "run"))
|