Package: patchwork 1.3.2.9000

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://thomasp85.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 873 packages 125k scripts 367k downloads 38 mentions 18 exports 17 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK191
source / vignettesOK194
linux-release-x86_64OK235
macos-release-arm64OK121
macos-oldrel-arm64OK132
windows-develOK154
windows-releaseOK155
windows-oldrelOK149
wasm-releaseOK112

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

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