cowplot
1.2.0Streamlined 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.
Install
Health
- OK2026-05-1713 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-05-1012 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 96%
- Documented parameters
- 91%
- Return-value docs
- 19%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/wilkelab/cowplot on 2026-07-19.
Dependencies
and 308 more packages.
Code & Tests
- Cyclomatic complexity
- 2.0 median / 20 max
- Test cases
- 19 / 1.72 per code line
Test coverage
Line coverage
69%
Expression
53.0%
Tests / Examples
68.7% / – ex
Functions
70 54 exported
Complexity
2.8 avg / 20 max
Call network
70 nodes / 54 edges
Call graph
Open call graph →Lowest coverage
70 functions| Function | Cyclo | Coverage |
|---|---|---|
| add_sub exp | 4 | 0% |
| agg_null_device exp | 2 | 0% |
| axis_canvas exp | 2 | 0% |
| cairo_null_device exp | 2 | 0% |
| draw_figure_label exp | 3 | 0% |
| draw_label exp | 2 | 0% |
People & History
21 releases. Pick two to compare their code metrics. R releases are shown for context.
- 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.02020-09-08 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.0.02019-07-11 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.9.42019-01-08 · diff ↗
- 0.9.32018-07-15 · diff ↗
Show 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 ↗
- 0.8.02017-07-30 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 0.7.02016-10-28 · diff ↗
- 0.6.32016-09-30 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.6.22016-04-20 · diff ↗
- 0.6.12016-03-06 · diff ↗
- 0.6.02015-12-19 · diff ↗
- 0.5.02015-07-01 · diff ↗
- 0.4.02015-06-14 · diff ↗
- 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
- Installed size
- not tracked yet
- With dependencies
- not tracked yet