Skip to content

ggExtra

Add Marginal Histograms to 'ggplot2', and More 'ggplot2' Enhancements

v0.11.0 · Sep 1, 2025 · MIT + file LICENSE

Description

Collection of functions and layers to enhance 'ggplot2'. The flagship function is 'ggMarginal()', which can be used to add marginal histograms/boxplots/density plots to 'ggplot2' scatterplots.

Downloads

15.4K

Last 30 days

992nd

47.8K

Last 90 days

201.9K

Last year

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

CRAN Check Status

6 NOTE
8 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
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 OK
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (7 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

R code for possible problems

Found the following assignments to the global environment:
File ‘ggExtra/R/ggMarginalGadget.R’:
  assign(plotname, eval(parse(text = origPlot)), envir = .GlobalEnv)
NOTE r-devel-linux-x86_64-debian-gcc

R code for possible problems

Found the following assignments to the global environment:
File ‘ggExtra/R/ggMarginalGadget.R’:
  assign(plotname, eval(parse(text = origPlot)), envir = .GlobalEnv)
NOTE r-devel-linux-x86_64-fedora-clang

R code for possible problems

Found the following assignments to the global environment:
File ‘ggExtra/R/ggMarginalGadget.R’:
  assign(plotname, eval(parse(text = origPlot)), envir = .GlobalEnv)
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘R6’ ‘scales’ ‘utils’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘R6’ ‘scales’ ‘utils’
  All declared Imports should be used.
NOTE r-patched-linux-x86_64

R code for possible problems

Found the following assignments to the global environment:
File ‘ggExtra/R/ggMarginalGadget.R’:
  assign(plotname, eval(parse(text = origPlot)), envir = .GlobalEnv)
NOTE r-release-linux-x86_64

R code for possible problems

Found the following assignments to the global environment:
File ‘ggExtra/R/ggMarginalGadget.R’:
  assign(plotname, eval(parse(text = origPlot)), envir = .GlobalEnv)

Check History

NOTE 8 OK · 6 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

R code for possible problems

Found the following assignments to the global environment:
File ‘ggExtra/R/ggMarginalGadget.R’:
  assign(plotname, eval(parse(text = origPlot)), envir = .GlobalEnv)
NOTE r-devel-linux-x86_64-debian-gcc

R code for possible problems

Found the following assignments to the global environment:
File ‘ggExtra/R/ggMarginalGadget.R’:
  assign(plotname, eval(parse(text = origPlot)), envir = .GlobalEnv)
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘R6’ ‘scales’ ‘utils’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘R6’ ‘scales’ ‘utils’
  All declared Imports should be used.
NOTE r-patched-linux-x86_64

R code for possible problems

Found the following assignments to the global environment:
File ‘ggExtra/R/ggMarginalGadget.R’:
  assign(plotname, eval(parse(text = origPlot)), envir = .GlobalEnv)
NOTE r-release-linux-x86_64

R code for possible problems

Found the following assignments to the global environment:
File ‘ggExtra/R/ggMarginalGadget.R’:
  assign(plotname, eval(parse(text = origPlot)), envir = .GlobalEnv)

Reverse Dependencies (35)

Dependency Network

Dependencies Reverse dependencies colourpicker ggplot2 grid (>= 3.1.3) gtable miniUI scales (>= 0.2.0) shiny shinyjs R6 CimpleG IBLM Rsearch SCVA SHAPforxgboost SHELF bamdit bayefdr calibmsm covalchemy jarbes ofpetrial qad reliabilitydiag spotoroo +20 more reverse deps ggExtra

Version History

new 0.11.0 Mar 10, 2026
updated 0.11.0 ← 0.10.1 diff Aug 31, 2025
updated 0.10.1 ← 0.10.0 diff Aug 20, 2023
updated 0.10.0 ← 0.9 diff Mar 22, 2022
updated 0.9 ← 0.8 diff Aug 26, 2019
updated 0.8 ← 0.7 diff Apr 3, 2018
updated 0.7 ← 0.6 diff Jun 24, 2017
updated 0.6 ← 0.5 diff Nov 11, 2016
updated 0.5 ← 0.4.0 diff May 29, 2016
updated 0.4.0 ← 0.3.4 diff Mar 27, 2016
updated 0.3.4 ← 0.3.1 diff Jan 5, 2016
updated 0.3.1 ← 0.3.0 diff Nov 6, 2015
updated 0.3.0 ← 0.2.0 diff Sep 6, 2015
updated 0.2.0 ← 0.1.5.2 diff Jul 12, 2015
updated 0.1.5.2 ← 0.1.0 diff Jun 9, 2015
new 0.1.0 Mar 26, 2015