Package: patchwork 1.3.2.9000

Thomas Lin Pedersen

patchwork: 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'.

Authors:Thomas Lin Pedersen [cre, aut]

patchwork_1.3.2.9000.tar.gz
patchwork_1.3.2.9000.zip(r-4.7)patchwork_1.3.2.9000.zip(r-4.6)patchwork_1.3.2.9000.zip(r-4.5)
patchwork_1.3.2.9000.tgz(r-4.6-any)patchwork_1.3.2.9000.tgz(r-4.5-any)
patchwork_1.3.2.9000.tar.gz(r-4.7-any)patchwork_1.3.2.9000.tar.gz(r-4.6-any)
patchwork_1.3.2.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
patchwork/json (API)
NEWS

# Install 'patchwork' in R:
install.packages('patchwork', repos = c('https://ar-puuk.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/thomasp85/patchwork/issues

Pkgdown/docs site:https://patchwork.data-imaginist.com

On CRAN:

Conda:

ggplot-extensionggplot2visualization

19.87 score 2.6k stars 871 packages 126k scripts 358k downloads 38 mentions 18 exports 17 dependencies

Last updated from:6b1d88ce1d. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK193
source / vignettesOK260
linux-release-x86_64OK191
macos-release-arm64OK144
macos-oldrel-arm64OK124
windows-develOK163
windows-releaseOK158
windows-oldrelOK178
wasm-releaseOK111

Exports:align_patchesalign_plotsareafreeget_dimget_max_dimguide_areainset_elementpatchGrobpatchworkGrobplot_annotationplot_layoutplot_spacerset_dimwrap_elementswrap_ggplot_grobwrap_plotswrap_table

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

Getting Started

Rendered frompatchwork.Rmdusingknitr::rmarkdownon May 13 2026.

Last update: 2022-08-18
Started: 2019-11-21