Create Standalone and Composite Plots in 'ggplot2' for Publications
Overview
Provides functions for creating and annotating a composite plot in 'ggplot2'. Offers background themes and shortcut plotting functions that produce figures that are appropriate for the format of scientific journals. Some methods are described in Min and Zhou (2021) doi:10.3389/fgene.2021.802894.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 41
- Examples that run
- 100%41 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 91%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 10
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/smin95/smplot2 on 2026-10-21.
Dependencies
Installing smplot2 adds 97 packages (48 with compiled code, 92 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
People & History
Maintainer since 0.1.0 (2024)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.6Latest
- RR 4.5.0 released · 2025-04-11
- 0.2.52025-01-26 · diff ↗
- 0.2.42024-06-24 · diff ↗
- 0.2.32024-05-29 · diff ↗ ·
removed 4 exports
sm_add_arrow, sm_add_line, sm_add_polygon, sm_add_rectadded 1 export
sm_slope_mean - 0.2.2
- 0.2.1
- RR 4.4.0 released · 2024-04-24
- 0.2.02024-04-14 · diff ↗
- 0.1.02024-04-12
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-04-12
- Total releases
- 8 / 2 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.4.0
- Download size
- 73 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("smplot2")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.3389/fgene.2021.802894.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.