Changelog
Source:NEWS.md
ggtibble 1.0.4
-
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.