Skip to content

ggfittext

0.10.4Package record

Fit Text Inside a Box in 'ggplot2'

15packages dependsuggested by 6
230Kdownloads / year
67.9%test coverage
13/13flavors OK

Overview

About

A 'ggplot2' extension to fit text into a box by growing, shrinking or wrapping the text.

Changes in 0.10.4

Minor changes

  • Remove dead code: the unexported, unreachable geom_grow_text() and geom_shrink_text() deprecation stubs, and an unused flip data column set by GeomFitText$setup_data() (#59).
  • Expand test coverage (#63).
  • Correct documentation errors (#49, #57).
  • Add a vignette example for outside (#65).

Bug fixes

  • geom_bar_text() now accepts a position given as a Position object rather than a string, e.g. position_dodge(width = 0.9) (#44).
  • geom_bar_text() now labels implied-flip horizontal bars with the bar value rather than the category index when no label aesthetic is mapped (#45).
Show all changes in 0.10.4Hide the rest of the changes in 0.10.4
  • Reflowed text now stays within the box width (#47).
  • geom_fit_text() now drops both empty-string and NA labels through explicit filtering (#48).
  • geom_bar_text() now ignores NA text colours when deciding whether to enable contrast, rather than erroring (#56).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.10.4
READMEYes · 855 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.10.4Citation fileNoWebsiteYes · pkgdown
Help pages
8 (1 internal)includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
48%
Return-value docs
0%
Help pages citing references
0%

Downloads

230K
CRAN downloads in the past year
Rank #864 · ~630/day · ~19.2K/mo
Daily download trend is not available in this view yet.
15.5K30 days
50.4K90 days
230K1 year
Compare downloads with other packages →
Also on2K r2u7 autocran11.9K conda_forge163 c2d4u

Repository

309Stars
18Forks
24Open issues
0Open PRs
1Releases
345Commits
6Commit identities
rggplot2
345 commits · Last activity 2026-07-05 · 0% stars, 30d · Default branch at 0.10.4.9000, ahead of CRAN 0.10.4 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-09-02 · 3052026-07-07 · 309
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/wilkox/ggfittext on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-07-05 · The repository has a site deploy workflow

pkgdown site last built 2026-07-05

CRAN release process (1)
cran-comments.md
Lint, format, editor (2)
Lint workflowAir
Show all practicesHide 1 practice
Git structural (1)
blame-ignore revs
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-01-12
    Named in .Rbuildignore: .claude, CLAUDE.md
    Commits: at least 15 crediting it in the message
Models named in its commits
  • Claude Opus 4.810 commits · Jul 2026
  • Claude Fable 51 commit · Jul 2026
  • Claude Haiku 4.51 commit · Jul 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing ggfittext adds 31 packages (17 with compiled code, 29 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.6
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
15direct
11indirect
Imports 15
Suggested by 6
Show all 21 packagesHide all 21 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 0.4.3 (2017)
Contributor · added in 0.10.0
Releases (13)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.10.4Latest
    record
    2025-12-13 · current release · diff ↗
  • 0.10.3
    record
    2025-12-13 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.10.2
    record
    2024-02-01 · diff ↗
  • 0.10.1
    record
    2023-09-05 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.10.0
    record
    2023-04-04 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.9.1
    record
    2021-01-30 · diff ↗
  • 0.9.0
    record
    2020-06-15 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.8.1
    record
    2019-07-18 · diff ↗
  • 0.8.0
    record
    2019-06-24 · diff ↗ ·
    added 1 export
    geom_bar_text
Show 7 earlier eventsHide 7 earlier events
  • 0.7.0
    record
    2019-05-29 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.6.0
    record
    2018-07-06 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.5.0
    record
    2017-11-17 · diff ↗
  • 0.4.3
    record
    2017-08-21
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-08-21
Total releases
13 / 9 yrs
License
GPL-2 OSI
Minimum R
≥ 3.6
Bundled data
2.0 KB / 6 files
Download size
867 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ggfittext")
Wilkins, D., & Johnston, B. (2026). ggfittext: Fit Text Inside a Box in 'ggplot2' (Version 0.10.4) [Computer software]. https://doi.org/10.32614/CRAN.package.ggfittext

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 ggfittext version 0.10.4 [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