Skip to content

ggpp

Grammar Extensions to 'ggplot2'

v0.6.0 · Jan 18, 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

23.5K

Last 30 days

766th

71K

Last 90 days

277.1K

Last year

Trend: +3.1% (30d vs prior 30d)

CRAN Check Status

1 ERROR
13 OK
Show all 14 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-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
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 details (1 non-OK)
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [197s]
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                  from   
    heightDetails.titleGrob ggplot2
    widthDetails.titleGrob  ggplot2
  
  Attaching package: 'ggpp'
  
  The following object is masked from 'package:ggplot2':
  
      annotate
  
  > 
  > # keep error messages as ASCII
  > options(cli.condition_unicode_bullets = FALSE)
  > 
  > test_check("ggpp")
  Saving _problems/test-try_tibble-31.R
  [ FAIL 1 | WARN 0 | SKIP 71 | PASS 1244 ]
  
  ══ Skipped tests (71) ══════════════════════════════════════════════════════════
  • Not yet implemented (18): 'test-position_dodge2_keep.R:48:3',
    'test-position_dodge2_keep.R:71:3', 'test-position_dodge2nudge.R:56:3',
    'test-position_dodge2nudge.R:79:3', 'test-position_dodge2nudge.R:102:3',
    'test-position_dodge2nudge.R:124:3', 'test-position_
...[truncated]...
tat-d1d-flt.R:308:1', 'test-stat-d1d-flt.R:443:1',
    'test-stat-d1d-flt.R:672:1', 'test-stat-d1d-flt.R:806:1',
    'test-stat-d1d-flt.R:935:1', 'test-stat-d2d-flt.R:292:1',
    'test-stat-d2d-flt.R:431:1', 'test-stat-d2d-flt.R:661:1',
    'test-stat_fmt_tb.R:3:1', 'test-stat_panel_counts.R:3:1',
    'test-stat_panel_counts.R:59:1', 'test-stat_quadrant_counts.R:5:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-try_tibble.R:30:3'): try_tibble, with xts object with hourly data ──
  Error in `xts(x, order.by = order_by_, frequency = frequency, ...)`: 'order.by' cannot contain 'NA', 'NaN', or 'Inf'
  Backtrace:
      ▆
   1. ├─xts::as.xts(data.frame(a = 1:50, t = lubridate::now() + lubridate::hours(1:50))) at test-try_tibble.R:30:3
   2. └─xts:::as.xts.data.frame(...)
   3.   └─xts::xts(x, order.by = order_by_, frequency = frequency, ...)
  
  [ FAIL 1 | WARN 0 | SKIP 71 | PASS 1244 ]
  Error:
  ! Test failures.
  Execution halted

Check History

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

Reverse Dependencies (14)

depends

Dependency Network

Dependencies Reverse dependencies ggplot2 rlang vctrs glue gridExtra scales tibble dplyr xts zoo MASS polynom lubridate stringr ggpmisc GseaVis RevGadgets carbonr crosshap ggplot2.utils ggrain metrica soiltestcorr teal.modules.general vecmatch adjustedCurves ggrepel mvgam ggpp

Version History

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
updated 0.4.4 ← 0.4.3 diff Apr 9, 2022
updated 0.4.3 ← 0.4.2 diff Dec 16, 2021
updated 0.4.2 ← 0.4.1 diff Jul 30, 2021
updated 0.4.1 ← 0.4.0 diff Jul 13, 2021
new 0.4.0 May 27, 2021