Streamlined Plot Theme and Plot Annotations for 'ggplot2'
Overview
Provides various features that help with creating publication-quality figures with 'ggplot2', such as a set of themes, functions to align plots and arrange them into complex compound figures, and functions that make it easy to annotate plots and or mix plots with images. The package was originally written for internal use in the Wilke lab, hence the name (Claus O. Wilke's plot package). It has also been used extensively in the book Fundamentals of Data Visualization.
- fix
get_legend()for redesigned ggplot legend system (#202) - fix test for ggplot object class (#210)
- fix label order when laying out plots by column rather than by row (@Doubt-0KB, #203)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-17
- ERROR12 OK, 1 ERROR2026-05-10
- OK14 OK2026-03-10
Documentation
- Help pages
- 38 (2 internal)includes a package overview page
- Examples that run
- 96%27 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 76%
- Documented parameters
- 91%
- Return-value docs
- 19%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 81%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
9 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/wilkelab/cowplot on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 2 practices
Dependencies
Installing cowplot adds 17 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 201 more dependents and 125 packages that suggest it on CRAN ↗
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.2.0Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1.32024-01-23 · diff ↗
- 1.1.22023-12-15 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.1.12020-12-30 · diff ↗
- 1.1.0
- RR 4.0.0 released · 2020-04-24
- 1.0.02019-07-11 · diff ↗ ·
removed 1 export
ggsaveadded 26 exports
as_grob, as_gtable, cairo_null_device, circle_key_glyph, get_panel_component, get_plot_component, get_subtitle, get_title, get_x_axis, get_y_axis, ggsave2, pdf_null_device, plot_component_names, plot_components, png_null_device, rectangle_key_glyph, set_null_device, stamp, stamp_bad, stamp_good, stamp_ugly, stamp_wrong, theme_half_open, theme_minimal_grid, theme_minimal_hgrid, theme_minimal_vgrid - RR 3.6.0 released · 2019-04-26
- 0.9.42019-01-08 · diff ↗
- 0.9.32018-07-15 · diff ↗
Show 17 earlier eventsHide 17 earlier events
- RR 3.5.0 released · 2018-04-23
- 0.9.22017-12-17 · diff ↗
- 0.9.12017-11-16 · diff ↗
- 0.9.02017-11-16 · diff ↗ ·
added 7 exports
axis_canvas, draw_image, get_panel, insert_xaxis_grob, insert_yaxis_grob, plot_to_gtable, theme_map - 0.8.0
- RR 3.4.0 released · 2017-04-21
- 0.7.0
- 0.6.3
- RR 3.3.0 released · 2016-05-03
- 0.6.22016-04-20 · diff ↗
- 0.6.1
- 0.6.02015-12-19 · diff ↗
- 0.5.0
- 0.4.02015-06-14 · diff ↗ ·
added 6 exports
draw_grob, gtable_remove_grobs, gtable_squash_cols, gtable_squash_rows, plot_theme, switch_axis_position - 0.3.12015-06-04 · diff ↗
- 0.3.02015-06-03
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-06-03
- Total releases
- 21 / 11 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 1.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("cowplot")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.