Create a new ggtibble object
Arguments
- x
A data.frame with a column named "figure" and "caption", and where
the "figure" column is a ggtibble. The "footnote" and "label" columns are
added as empty strings when absent. Non-empty labels must be unique,
ignoring case, and may contain only letters, digits, hyphens,
underscores, and dots.
Value
The object with a ggtibble class
Examples
new_ggtibble(tibble::tibble(figure = list(ggplot2::ggplot()), caption = ""))
#> # A tibble: 1 × 4
#> figure caption footnote label
#> <gglist> <chr> <chr> <chr>
#> 1 A ggplot object "" "" ""