Skip to content

ggpubr

1.0.0

'ggplot2' Based Publication Ready Plots

320packages depend
3Mdownloads / year
64.5%test coverage
11/13checks pass

Overview

About
Maintained by Alboukadel KassambaraFirst published 2016-07-2024 releasesCRAN page ↗GitHub ↗

The 'ggplot2' package is excellent and flexible for elegant data visualization in R. However the default generated plots require some formatting before we can send them for publication. Furthermore, to customize a 'ggplot', the syntax is opaque and this raises the level of difficulty for researchers with no advanced R programming skills. 'ggpubr' provides some easy-to-use functions for creating and customizing 'ggplot2'-based publication ready plots. This version includes modern R ecosystem compatibility updates and customizable p-value formatting presets (APA, AMA, NEJM, Lancet, GraphPad, and scientific notation) for publication workflows, plus robust sparse-subset handling in statistical annotation layers such as 'stat_compare_means()' and 'geom_pwc()', with informative per-group skip diagnostics for non-comparable subsets.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 12.0 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.37
64.5%
Coverage · measured lines
99%
Documentation · exports
19
Dependencies · direct
Check history
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-03
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-25
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 443 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
94%
Documented parameters
92%
Return-value docs
27%
References docs
1%

Downloads

3M
CRAN downloads in the past year
Rank #216 · ~8.3K/day · ~251.7K/mo
Daily download trend is not available in this view yet.
187.7K30 days
699.2K90 days
3M1 year
Compare downloads with other packages →
Also on15K r2u2 autocran77.9K conda_forge1.6K c2d4u

Repository

Repository
1,265Stars
183Forks
4Open issues
1Open PRs
24Releases
1,217Commits
9Contributors
1,217 commits · Last activity 2026-07-31 · +1.1% stars, 30d

Stars over time

2025-08-17 · 1,1902026-08-16 · 1,265

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/kassambara/ggpubr on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (2)
data-raw/Makefile
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Governance and community (1)
Issue templates
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2025-12-21

claudecodex

Most recent: codex on 2026-07-04

Evidence
  • claude: on or before 2025-12-21 · evidence B, D
  • codex: on 2026-07-04 · evidence D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)
Depends (2)
R >= 4.1.0ggplot2
LinkingTo (0)
none
Suggests (5)
Enhances (0)
none

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (1)
Contributor · added in 0.6.3
Package Timeline

24 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.0.0Latest
    2026-07-06 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.3
    2026-02-24 · diff ↗
  • 0.6.2
    2025-10-17 · diff ↗
  • 0.6.1
    2025-06-27 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.6.0
    2023-02-10 · diff ↗
  • 0.5.0
    2022-11-16 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.0
    2020-06-27 · diff ↗
  • 0.3.0
    2020-05-04 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.5
    2020-02-13 · diff ↗
Show 19 earlier events
  • 0.2.4
    2019-11-14 · diff ↗
  • 0.2.3
    2019-09-04 · diff ↗
  • 0.2.2
    2019-08-07 · diff ↗
  • 0.2.1
    2019-06-23 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2
    2018-11-15 · diff ↗
  • 0.1.9
    2018-11-11 · diff ↗
  • 0.1.8
    2018-08-30 · diff ↗
  • 0.1.7
    2018-06-23 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.6
    2017-11-14 · diff ↗
  • 0.1.5
    2017-08-22 · diff ↗
  • 0.1.4
    2017-06-28 · diff ↗
  • 0.1.3
    2017-06-06 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.2
    2017-03-14 · diff ↗
  • 0.1.1
    2016-12-05 · diff ↗
  • 0.1.0
    2016-07-20
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-07-20
Total releases
24 / 10 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Bundled data
779 KB / 3 files
Download size
1.8 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ggpubr")
Kassambara, A., & Erdey, L. (2026). ggpubr: 'ggplot2' Based Publication Ready Plots (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.ggpubr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 ggpubr version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-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