Skip to content

ggfittext

Fit Text Inside a Box in 'ggplot2'

v0.10.4 · Dec 13, 2025 · GPL-2

Description

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

Downloads

CRAN

17.2K

Last 30 days

884th

57.6K

Last 90 days

231.2K

Last year

Trend: -17.9% (30d vs prior 30d)

r2u CRAN

71

Last 30 days

296

Last 90 days

1.1K

Last year

Trend: -34.9% (30d vs prior 30d)

autoCRAN

7

Last 7 days

20

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

601

Last 30 days

2.1K

Last 90 days

14.7K

Last year

Trend: -7.7% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

47 2 exported

Complexity

3.7 avg / 41 max

Call network

47 nodes / 40 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

3,322

Files

122

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,840 (55.4%)Tests 908 (27.3%)Docs 357 (10.7%)Vignettes 217 (6.5%)

API

Exported functions

2

Internal functions

43

Recent export changes

v0.8.0+1 geom_bar_text

Testing & CI

Has tests

Yes

Test-to-code ratio

3.96

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

0%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.6

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

13

First release

2017-08-21

Latest release

2026-07-05

Avg cadence

217 days

Cold removal rate

Dep drift

3

LOC over versions

v0.4.3: 766 LOCv0.5.0: 766 LOCv0.6.0: 1,000 LOCv0.7.0: 1,056 LOCv0.8.0: 1,539 LOCv0.8.1: 1,676 LOCv0.9.0: 2,428 LOCv0.9.1: 2,477 LOCv0.10.0: 2,809 LOCv0.10.1: 2,827 LOCv0.10.2: 2,863 LOCv0.10.3: 2,958 LOCv0.10.4: 3,322 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (21)

Dependency Network

Dependencies Reverse dependencies stringi shades gridtext ggplot2 cli STMr bartXViz breathtestcore deeptime gggenes ggtreebar metabolic metacoder pvEBayes pvLRT rnmamod shapviz sportyR treemapify worrrd +6 more reverse deps ggfittext

Version History

14 tracked
updated 0.10.4 ← 0.10.3 diff Jul 5, 2026
new 0.10.3 Mar 10, 2026
updated 0.10.3 ← 0.10.2 diff Dec 12, 2025
updated 0.10.2 ← 0.10.1 diff Jan 31, 2024
updated 0.10.1 ← 0.10.0 diff Sep 4, 2023
updated 0.10.0 ← 0.9.1 diff Apr 3, 2023
updated 0.9.1 ← 0.9.0 diff Jan 29, 2021
updated 0.9.0 ← 0.8.1 diff Jun 14, 2020
updated 0.8.1 ← 0.8.0 diff Jul 17, 2019
updated 0.8.0 ← 0.7.0 diff Jun 23, 2019
updated 0.7.0 ← 0.6.0 diff May 28, 2019
updated 0.6.0 ← 0.5.0 diff Jul 5, 2018
updated 0.5.0 ← 0.4.3 diff Nov 16, 2017
new 0.4.3 Aug 20, 2017