Miscellaneous Functions for 'ggplot2'
Overview
Provides a collection of 'ggplot2' extensions and utilities for creating geometric layers, applying themes, working with legends, and modifying plot objects.
- add
geom_bezier()andGeomBezierfor drawing grouped cubic Bezier paths; this provides the low-level edge layer used byggtangleto reproduce ggraph-compatible circular network arcs (2026-10-05, Mon) - remove
volplot()andgeom_volpoint(): volcano plotting now lives in theivolcanopackage (2026-10-06, Tue) set_font()is now implemented on top of theggplot2theme system instead of editing text grobs: the requested values go intotheme(text=), and — because layer text does not follow the plot theme — into the layer parameters of text geoms such asgeom_text()andggtree::geom_tiplab(). Theme elements that already carry their own values, which would otherwise block the inheritance fromtheme(text=), are updated as well, while aesthetics already mapped withaes()are left alone so that their legend is not dropped. It returns the modified plot rather than drawing a gtable as a side effect, so the result can still be extended with+; elements sized withrel()keep their relative size,sizeis in points likeelement_text(size=), and the font family is left untouched unlessfamilyis supplied. Note that rendered sizes differ from previous versions, which multipliedsizeby.pt, and thatset_font(p, color = "red")no longer overwrites every serif label (2026-10-06, Tue)
Show all changes in 0.2.2Hide the rest of the changes in 0.2.2
- fix
%<+%silently returning an empty data frame when the plot data has nonodecolumn; the join result is now only reordered bynodewhen that column is actually present (2026-10-06, Tue)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- NOTE12 OK, 1 NOTE2026-06-08
- ERROR12 OK, 1 ERROR2026-06-07
Show 1 earlier changeHide 1 earlier change
- OK14 OK2026-03-10
Documentation
- Help pages
- 35 (2 internal)includes a package overview page
- Examples that run
- 92%12 run in a plain check · 1 never run
- Exported functions with examples
- 39%
- Documented parameters
- 97%
- Return-value docs
- 78%
- Help pages citing references
- 6%
Downloads
Repository
- PRs merged (all time)
- 92%
- Median days to close, 50 most recently updated closed issues
- 27
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/yulab-smu/ggfun on 2026-10-11.
Dependencies
Installing ggfun adds 29 packages (15 with compiled code, 18 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, fs 1.4 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2.2Latest2026-10-09 · current release · diff ↗ ·
removed 2 exports
geom_volpoint, volplotadded 2 exports
GeomBezier, geom_bezier - 0.2.1
- RR 4.6.0 released · 2026-04-24
- 0.2.0
- 0.1.92025-06-21 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.1.82024-12-03 · diff ↗
- 0.1.7
- 0.1.6
- 0.1.5
- RR 4.4.0 released · 2024-04-24
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.02023-06-20 · diff ↗ ·
added 7 exports
element_blinds, geom_cake, geom_segment_c, geom_triangle, geom_volpoint, theme_blinds, volplot
Show 11 earlier eventsHide 11 earlier events
- RR 4.3.0 released · 2023-04-21
- 0.0.9
- 0.0.82022-11-07 · diff ↗
- 0.0.7
- RR 4.2.0 released · 2022-04-22
- 0.0.6
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.22021-07-01
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-07-01
- Total releases
- 21 / 5 yrs
- License
- Artistic-2.0 OSI
- Minimum R
- ≥ 4.2.0
- Download size
- 596 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ggfun")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.