spack/var/spack/repos/builtin/packages/r-patchwork/package.py
Wouter Deconinck 4de5b664cd
r-*: add new versions (#46093)
* r-*: updates to latest versions
* r-*: add new dependencies
* r-proj: fix docstring line length
* r-list: add homepage
* r-*: add more dependencies
* r-rmpi: use virtual dependencies, conflict openmpi@5:
* r-cairo: require cairo +png; +pdf for some versions; cairo +fc when +ft
* r-proj: set LD_LIBRARY_PATH since rpath not respected
2024-10-29 18:27:43 -06:00

31 lines
1.3 KiB
Python

# 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 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"
license("MIT")
version("1.2.0", sha256="cc31ea13560c424de9bfe2287d926a7d9e6cc8da2d5561402bb145b4f51b68a1")
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"))
depends_on("r-cli", type=("build", "run"), when="@1.1.3:")
depends_on("r-rlang", type=("build", "run"), when="@1.1.3:")