Package: patchwork 1.3.2

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.tar.gz
patchwork_1.3.2.zip(r-4.7)patchwork_1.3.2.zip(r-4.6)patchwork_1.3.2.zip(r-4.5)
patchwork_1.3.2.tgz(r-4.6-any)patchwork_1.3.2.tgz(r-4.5-any)
patchwork_1.3.2.tar.gz(r-4.7-any)patchwork_1.3.2.tar.gz(r-4.6-any)
patchwork_1.3.2.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://razvanazamfirei.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.88 score 2.6k stars 874 packages 125k scripts 367k downloads 38 mentions 18 exports 17 dependencies

Last updated from:aaca3f935d (on v1.3.2). Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK198
source / vignettesOK171
linux-release-x86_64OK215
macos-release-arm64OK114
macos-oldrel-arm64OK117
windows-develOK171
windows-releaseOK235
windows-oldrelOK160
wasm-releaseOK125

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 22 2026.

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