Skip to content

ggtern

4.0.0

An Extension to 'ggplot2', for the Creation of Ternary Diagrams

2packages dependsuggested by 7
55Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

Extends the functionality of 'ggplot2', providing the capability to plot ternary diagrams for (subset of) the 'ggplot2' geometries. Additionally, 'ggtern' has implemented several NEW geometries which are unavailable to the standard 'ggplot2' release.

Changes in 4.0.0
  • Fixed broken compatability with ggplot2 4.0.X
  • Changed to S& methods where necessasry
  • Enforced liniewidth vs size for line-type grobs
  • Changed to rel from unit for ticklength theme elements

From NEWS in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage:
  ‘theme.Rd’
\arguments should not be documented without \usage.

CRAN check page ↗

Slowest check: 4.6 min · r-oldrel-macos-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK12 OK, 1 FAILURE2026-06-08
  • NOTE12 OK, 1 NOTE2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 4.0.0
READMEYes · 296 wordsVignettesNoNEWSYes · 33% structured · mentions 4.0.0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JSS article
Help pages
77 (7 internal)includes a package overview page
Examples that run
95%41 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
Exported functions with examples
59%
Documented parameters
77%
Return-value docs
15%
Help pages citing references
8%

Also includes 2 demo scripts (run with demo())

Downloads

55K
CRAN downloads in the past year
Rank #2,014 · ~151/day · ~4.6K/mo
Daily download trend is not available in this view yet.
Also on649 r2u11 autocran3.4K conda_forge61 c2d4u

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing ggtern adds 29 packages (15 with compiled code, 27 MB of source tarballs). Heaviest: ggplot2 6.0 MB, compositions 2.7 MB, robustbase 2.2 MB.

Depends (2)
R >= 4.0ggplot2
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Depends 1 · Imports 1
Suggested by 7
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 1.0.1.3 (2013)
Releases (26)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 4.0.0Latest
    record
    2025-11-26 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 3.5.0
    record
    2024-03-24 · diff ↗
  • unarchivedReturned to CRAN
    2023-06-06
  • 3.4.2
    record
    2023-06-06 · diff ↗
  • archivedRemoved from CRAN
    2023-05-07
    issues were not corrected in time
  • R
    R 4.3.0 released · 2023-04-21
  • 3.4.1
    record
    2022-12-06 · diff ↗
  • 3.4.0
    record
    2022-11-19 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 3.3.5
    record
    2021-07-23 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 3.3.0
    record
    2020-04-11 · diff ↗ ·
    removed 3 exports
    %+%, calc_element, theme
Show 27 earlier eventsHide 27 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • 3.1.0
    record
    2018-12-19 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • archivedRemoved from CRAN
    2015-03-03
    misuse of '\donttest' was not corrected
  • R
    R 3.1.0 released · 2014-04-10
  • 3.0.3
    record
    2014-01-30 · diff ↗ ·
    added 1 export
    unit
  • 3.0.0.1
    record
    2018-11-06 · diff ↗
  • 3.0.0
    record
    2018-08-22 · diff ↗ ·
    added 13 exports
    GeomHexTern, GeomPolygonClosed, GeomTriTern, StatHexTern, StatTriTern, geom_hex_tern, geom_polygon_closed, geom_tri_tern, stat_hex_tern, stat_tri_tern, theme_ticklength, theme_ticklength_major, theme_ticklength_minor
  • 2.2.1
    record
    2017-07-17 · diff ↗ ·
    added 8 exports
    GeomLabelViewport, GeomMeanEllipse, GeomTextViewport, StatMeanEllipse, geom_label_viewport, geom_mean_ellipse, geom_text_viewport, stat_mean_ellipse
  • 2.2.0
    record
    2016-11-23 · diff ↗ ·
    removed 4 exports
    layer_grob, layer_scales, theme_get, theme_set
    added 22 exports
    %+%, GeomMask, breaks_tern, find_global_tern, labels_tern, rgb2hex, theme_arrowlarge, theme_bluedark, theme_bluelight, theme_bvbg, theme_bvbw, theme_hidelatex, theme_latex, theme_matrix, theme_nolatex, theme_showlatex, theme_tropical, theme_zoom_L, theme_zoom_M, theme_zoom_R, theme_zoom_T, theme_zoom_center
  • 2.1.4
    record
    2016-07-22 · diff ↗ ·
    removed 2 exports
    is.ggplot, plot_clone
    added 3 exports
    getBreaks, getLabels, theme_mesh
  • 2.1.3
    record
    2016-07-15 · diff ↗ ·
    added 2 exports
    annotate, theme_ggtern
  • 2.1.2
    record
    2016-07-05 · diff ↗ ·
    added 3 exports
    theme_hidemask, theme_nomask, theme_showmask
  • 2.1.1
    record
    2016-03-31 · diff ↗ ·
    added 8 exports
    GeomPointSwap, GeomRasterAnnTern, annotation_raster_tern, draw_key_point_swap, geom_point_swap, theme_bordersonbottom, theme_bordersontop, theme_gridsonbottom
  • 2.1.0
    record
    2016-03-18 · diff ↗ ·
    removed 1 export
    scales_list
    added 18 exports
    GeomCrosshairTern, GeomLmark, GeomRmark, GeomTmark, draw_key_Liso, draw_key_Lline, draw_key_Lmark, draw_key_Riso, draw_key_Rline, draw_key_Rmark, draw_key_Tiso, draw_key_Tline, draw_key_Tmark, draw_key_crosshair_tern, geom_Lmark, geom_Rmark, geom_Tmark, geom_crosshair_tern
  • 2.0.1
    record
    2016-01-16 · diff ↗ ·
    removed 15 exports
    pattern:^[[:alpha:]]+, unit, %+%, %+replace%, arrow, ifthenelse, geom_smooth, geom_polygon_tern, theme_tern_bw, theme_tern_gray, theme_tern_rgbg, theme_tern_rgbw, theme_rgb, theme_arrowlarge, polyclip
    added 90 exports
    CoordTern, GeomConfidenceTern, GeomDensityTern, GeomErrorbarl, GeomErrorbarr, GeomErrorbart, GeomInterpolateTern, GeomLisoprop, GeomLline, GeomRisoprop, GeomRline, GeomSmoothTern, GeomTisoprop, GeomTline, Larrowlab, Llab, Lline, PositionJitterTern, PositionNudgeTern, Rarrowlab, Rlab, Rline, StatConfidenceTern, StatDensityTern, StatInterpolateTern, StatSmoothTern, Tarrowlab, Tlab, Tline, Wlab and 60 more
  • 1.0.6.1
    record
    2015-10-12 · diff ↗
  • 1.0.6.0
    record
    2015-08-03 · diff ↗ ·
    removed 2 exports
    stat_density2d, geom_density2d
    added 7 exports
    stat_density_tern, geom_density_tern, geom_interpolate_tern, stat_interpolate_tern, geom_polygon_tern, theme_novar_tern, polyclip
  • 1.0.5.0
    record
    2015-04-15 · diff ↗
  • 1.0.3.2
    record
    2014-05-31 · diff ↗ ·
    added 36 exports
    geom_errorbarT, geom_errorbarL, geom_errorbarR, theme_hidearrows, theme_minimal, theme_classic, theme_bw, theme_gray, theme_rgbw, theme_rgbg, theme_rgb, theme_showtitles, theme_hidetitles, theme_notitles, theme_showlabels, theme_hidelabels, theme_nolabels, theme_counterclockwise, theme_anticlockwise, theme_clockwise, theme_showgrid, theme_hidegrid, theme_showgrid_major, theme_showgrid_minor, theme_hidegrid_major, theme_hidegrid_minor, theme_arrowsmall, theme_arrowshort, theme_arrownormal, theme_arrowdefault and 6 more
  • 1.0.3.1
    record
    2014-01-31 · diff ↗
  • 1.0.2.0
    record
    2014-01-04 · diff ↗ ·
    removed 11 exports
    arrow_label_formatter, calc_element_plot, sink_density, remove_outside, find_global, get_last_coord, get_tern_extremes, trytransform, set_last_coord, strip_unapproved, transform_tern_to_cart
    added 13 exports
    geom_density2d, geom_confidence, theme_noticks, theme_hideticks, theme_showticks, theme_noprimary, theme_showprimary, theme_hideprimary, theme_nosecondary, theme_showsecondary, theme_hidesecondary, theme_ticksinside, theme_ticksoutside
  • 1.0.1.3
    record
    2013-12-18
  • R
    R 3.0.0 released · 2013-04-03

Package metadata

First published
2013-12-18
Total releases
26 / 13 yrs
License
GPL-2 | file LICENSE OSI
Minimum R
≥ 4.0
Bundled data
68 KB / 6 files
Download size
584 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("ggtern")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v087.c03.

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 ggtern version 4.0.0 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, 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