Skip to content

ggfun

0.2.2Package record

Miscellaneous Functions for 'ggplot2'

8packages dependsuggested by 3
734.3Kdownloads / year
29.8%test coverage
13/13flavors OK

Overview

About

Provides a collection of 'ggplot2' extensions and utilities for creating geometric layers, applying themes, working with legends, and modifying plot objects.

Changes in 0.2.2
  • add geom_bezier() and GeomBezier for drawing grouped cubic Bezier paths; this provides the low-level edge layer used by ggtangle to reproduce ggraph-compatible circular network arcs (2026-10-05, Mon)
  • remove volplot() and geom_volpoint(): volcano plotting now lives in the ivolcano package (2026-10-06, Tue)
  • set_font() is now implemented on top of the ggplot2 theme system instead of editing text grobs: the requested values go into theme(text=), and — because layer text does not follow the plot theme — into the layer parameters of text geoms such as geom_text() and ggtree::geom_tiplab(). Theme elements that already carry their own values, which would otherwise block the inheritance from theme(text=), are updated as well, while aesthetics already mapped with aes() 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 with rel() keep their relative size, size is in points like element_text(size=), and the font family is left untouched unless family is supplied. Note that rendered sizes differ from previous versions, which multiplied size by .pt, and that set_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 no node column; the join result is now only reordered by node when that column is actually present (2026-10-06, Tue)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.8 min · r-release-macos-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.2.2
READMEYes · 127 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2.2Citation fileNoWebsitenot declared in DESCRIPTION
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

734.3K
CRAN downloads in the past year
Rank #400 · ~2K/day · ~61.2K/mo
Daily download trend is not available in this view yet.
69.3K30 days
223.7K90 days
734.3K1 year
Compare downloads with other packages →
Also on14.4K r2u8 autocran123.4K conda_forge411 c2d4u

Repository

18Stars
4Forks
0Open issues
0Open PRs
0Releases
91Commits
3Commit identities
91 commits · Last activity 2026-10-09 · 0% stars, 30d
Responsiveness
How these are sampled
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

2024-09-06 · 172026-07-07 · 18
PracticesBeta

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.

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.2.0
Imports (9)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
8direct
36indirect
Imports 8
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.0.2 (2021), Copyright holder
Author · added in 0.0.3
Releases (21)

Pick two releases to compare their code metrics.

  • 0.2.2Latest
    record
    2026-10-09 · current release · diff ↗ ·
    removed 2 exports
    geom_volpoint, volplot
    added 2 exports
    GeomBezier, geom_bezier
  • 0.2.1
    record
    2026-07-02 · diff ↗ ·
    added 2 exports
    geom_hist, stat_hist
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0
    record
    2025-07-15 · diff ↗ ·
    added 2 exports
    GeomXspline, geom_xspline
  • 0.1.9
    record
    2025-06-21 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.8
    record
    2024-12-03 · diff ↗
  • 0.1.7
    record
    2024-10-24 · diff ↗ ·
    added 3 exports
    td_filter, td_mutate, td_unnest
  • 0.1.6
    record
    2024-08-28 · diff ↗ ·
    added 1 export
    geom_scatter_rect
  • 0.1.5
    record
    2024-05-28 · diff ↗ ·
    added 1 export
    %<+%
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.4
    record
    2024-01-19 · diff ↗ ·
    added 1 export
    theme_noaxis
  • 0.1.3
    record
    2023-09-15 · diff ↗ ·
    added 3 exports
    get_plot_data, set_point_legend_shape, theme_noyaxis
  • 0.1.2
    record
    2023-08-10 · diff ↗ ·
    added 1 export
    get_legend
  • 0.1.1
    record
    2023-06-24 · diff ↗ ·
    added 2 exports
    theme_fp, theme_no_margin
  • 0.1.0
    record
    2023-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
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0.9
    record
    2022-11-21 · diff ↗ ·
    added 1 export
    theme_noxaxis
  • 0.0.8
    record
    2022-11-07 · diff ↗
  • 0.0.7
    record
    2022-08-31 · diff ↗ ·
    added 1 export
    theme_stamp
  • R
    R 4.2.0 released · 2022-04-22
  • 0.0.6
    record
    2022-04-01 · diff ↗ ·
    added 4 exports
    ggrange, identify, xrange, yrange
  • 0.0.5
    record
    2022-01-20 · diff ↗ ·
    added 2 exports
    theme_nothing, theme_transparent
  • 0.0.4
    record
    2021-09-17 · diff ↗ ·
    added 4 exports
    facet_set, ggbreak2ggplot, is.ggbreak, is.ggtree
  • 0.0.3
    record
    2021-08-17 · diff ↗ ·
    added 1 export
    element_roundrect
  • 0.0.2
    record
    2021-07-01
  • R
    R 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")
Yu, G., & Xu, S. (2026). ggfun: Miscellaneous Functions for 'ggplot2' (Version 0.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ggfun version 0.2.2 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy