Changelog
Source:NEWS.md
ggtibble (development version)
-
ggtibble()gainsfootnoteandlabelarguments, glue specifications evaluated per row likecaption, givingfootnoteandlabelcolumns (empty when not given, including fromas_ggtibble()). A footnote is markdown rendered under its figure: inside the figure float after the caption in LaTeX (with the plain caption as the List of Figures entry), in one unbreakable block with the figure Div in Quarto Typst, as a smallerfigure-footnoteDiv directly after the figure in HTML, and as a plain paragraph directly after the figure in Word and plain markdown. In LaTeX and Typst it cannot be separated from its figure by a page break; in Word it can, and it is in the body text size. A label is the figure’s own identifier (\label{}in LaTeX, the figure Div or image id in Quarto and pandoc output) and part of its image file name. Labels must be unique (ignoring case) and use only letters, digits, hyphens, underscores, and dots, and a figure id may appear only once in a document. Under Quarto, a label without thefig-prefix gives a warning, since@references to it do not resolve. A ggtibble without footnotes or labels renders as before. -
ggsave()on aggtibblewithoutfilenamenames each file after its label. - Quarto renders are detected again with current Quarto versions, which no longer set the
QUARTO_VERSIONenvironment variable, so theggtibblechunk option once more prefixesfig-to its labels and usesfig.subcapfor multiple captions under Quarto.
ggtibble 1.0.4
CRAN release: 2026-06-21
-
gglistobjects may now nest: agglistelement of agglistis allowed, so agglistcan represent a list of lists of plots. The+broadcast,print(), and the newplot()method all recurse through the nesting. -
gglistelement names are now preserved through the+broadcast (they were previously dropped), in addition to construction and subsetting. This makes name-indexed collections (g[["my plot"]],names(g)) reliable. - New
plot()methods forgglistandggtibble, plus aplot.NULL()method so thatNULLelements of agglistrender as a no-op instead of erroring. The+broadcast is likewiseNULL-safe (aNULLelement staysNULL). - New exported S3 generic
as_ggtibble()with agglistmethod that converts a named (and possibly nested)gglistinto aggtibble, using the element names as captions. Nesting is flattened and the outer name is prepended to each inner name (e.g."All Data dv_pred_ipred_linear").
ggtibble 1.0.3
CRAN release: 2026-05-14
-
knit_print.gglist()automatically inserts\FloatBarrierbetween figures when more than 10 plots are rendered to LaTeX, avoiding the LaTeX “Output loop—100 consecutive dead cycles” error. The threshold is configurable via the newfloat_barrier_afterargument (default10; useInfto disable). Requires\usepackage{placeins}in the document preamble. (#27) - New exported S3 generic
as_gglist()(methods forgg,list,gglist,labels, andNULL) that promotes an input to agglist. When the input usesggforce::facet_wrap_paginate()orggforce::facet_grid_paginate(),as_gglist()expands the paginated plot into one element per rendered page so it can be passed toprint(),knit_print(), orggsave()and every page will render. Page expansion is opt-in — render methods are unchanged and do not callas_gglist()implicitly.ggforceis added to Suggests (issue 2). - New
ggtibbleknitr chunk option that simplifies rendering aggtibblein R Markdown and Quarto reports. Settingggtibble = "my_obj"(orggtibble = my_obj) on a chunk auto-sets the chunk label,fig.cap, and injectsknit_print(my_obj)for empty chunk bodies. Under Quarto, the label is prefixed withfig-and multi-caption objects usefig.subcapso@fig-...cross-references work (issue 17). - Works with the
ggbreakpackage
ggtibble 1.0.2
CRAN release: 2025-06-11
-
ggtibble()now warns ifoutercolsare not used in either thecaptionor thelabsargument (#13). -
ggtibbleandgglistobjects now work with the ggplot2%+%operator (#16) - A new
ggsave()generic function will now enable simpler saving ofggtibbleandgglistobjects (unique filenames are required to save). -
aes()anddata.frame()objects can be added toggtibbleandgglistobjects (#23). -
ggsave()can accept a character vector of all filenames to use when saving (#25). - Update testing to work with ggplot2 version 4.0.0
ggtibble 1.0.1
CRAN release: 2024-06-19
-
labsargument toggtibble()can now include `NULL (#6) -
guides()can now be added togglistobjects. - Labels created with the
labsargument toggtibble()will not longer all be the same (#3) -
new_gglist()andnew_ggtibble()are now exported making it easier to create objects.