Skip to content

ggpp

Grammar Extensions to 'ggplot2'

v0.6.1 · Jul 2, 2026 · GPL (>= 2)

Description

Extensions to 'ggplot2' respecting the grammar of graphics paradigm. Geometries: geom_table(), geom_plot() and geom_grob() add insets to plots using native data coordinates, while geom_table_npc(), geom_plot_npc() and geom_grob_npc() do the same using "npc" coordinates through new aesthetics "npcx" and "npcy". Statistics: select observations based on 2D density. Positions: radial nudging away from a center point and nudging away from a line or curve; combined stacking and nudging; combined dodging and nudging.

Downloads

CRAN

19.5K

Last 30 days

821st

65.1K

Last 90 days

291.1K

Last year

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

r2u CRAN

48

Last 30 days

261

Last 90 days

1.3K

Last year

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

autoCRAN

5

Last 7 days

13

Last 30 days

2

All-time

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

conda-forge CRAN

542

Last 30 days

1.3K

Last 90 days

5.4K

Last year

Trend: +9.5% (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 Apr 12, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-linux-x86_64-debian-clang

tests

Running ‘testthat.R’ [175s/240s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggpp)
  Loading required package: ggplot2
  Registered S3 methods overwritten by 'ggpp':
    method                  f
...[truncated]...
nudge/nudge-line3.svg',
  'position-nudge/nudge-line3a.svg', 'position-nudge/nudge-line4.svg',
  'position-nudge/nudge-line5.svg', 'position-nudge/nudge-line6.svg', and
  'position-nudge/nudge-line7.svg'
  Error:
  ! Test failures.
  Execution halted

Code

Structure

Lines of code

33,377

Files

600

Compiled share

0%

Has compiled src

No

Language breakdown

R 15,085 (45.2%)Tests 8,226 (24.6%)Docs 7,629 (22.9%)Vignettes 2,437 (7.3%)

API

Exported functions

119

Internal functions

23

Recent export changes

v0.5.9+8 PositionDodge2AndNudgeTo, PositionDodgeNudgeTo, PositionFillNudgeTo +5 more  −1 PositionNudgeTo

Testing & CI

Has tests

Yes

Test-to-code ratio

10.97

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

92.3%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

82.4%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

19

First release

2021-05-28

Latest release

2026-07-02

Avg cadence

77 days

Cold removal rate

100%

Dep drift

22

LOC over versions

v0.4.0: 12,580 LOCv0.4.1: 12,633 LOCv0.4.2: 12,971 LOCv0.4.3: 15,592 LOCv0.4.4: 15,595 LOCv0.4.5: 15,859 LOCv0.5.0: 18,146 LOCv0.5.1: 19,197 LOCv0.5.2: 24,767 LOCv0.5.3: 25,615 LOCv0.5.4: 27,084 LOCv0.5.5: 28,309 LOCv0.5.6: 29,150 LOCv0.5.7: 30,178 LOCv0.5.8: 30,469 LOCv0.5.8-1: 30,470 LOCv0.5.9: 33,852 LOCv0.6.0: 33,172 LOCv0.6.1: 33,377 LOC

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

Reverse Dependencies (16)

depends

Dependency Network

Dependencies Reverse dependencies ggplot2 rlang vctrs glue gridExtra scales tibble dplyr xts zoo MASS polynom lubridate stringr ggpmisc ECDFniche RevGadgets carbonr crosshap ggmemo ggplot2.utils ggrain metrica soiltestcorr teal.modules.general vecmatch IOBR adjustedCurves ggrepel +1 more reverse deps ggpp

Version History

20 tracked
updated 0.6.1 ← 0.6.0 diff Jul 2, 2026
new 0.6.0 Mar 10, 2026
updated 0.6.0 ← 0.5.9 diff Jan 17, 2026
updated 0.5.9 ← 0.5.8-1 diff Jun 27, 2025
updated 0.5.8-1 ← 0.5.8 diff Jun 30, 2024
updated 0.5.8 ← 0.5.7 diff Jun 25, 2024
updated 0.5.7 ← 0.5.6 diff May 5, 2024
updated 0.5.6 ← 0.5.5 diff Jan 8, 2024
updated 0.5.5 ← 0.5.4 diff Nov 7, 2023
updated 0.5.4 ← 0.5.3 diff Aug 11, 2023
updated 0.5.3 ← 0.5.2 diff Jul 15, 2023
updated 0.5.2 ← 0.5.1 diff Mar 31, 2023
updated 0.5.1 ← 0.5.0 diff Feb 2, 2023
updated 0.5.0 ← 0.4.5 diff Dec 4, 2022
updated 0.4.5 ← 0.4.4 diff Sep 29, 2022