Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v6

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ggtibble
Title: Create Tibbles and Lists of 'ggplot' Figures for Reporting
Version: 1.0.4
Version: 1.0.4.9000
Authors@R:
person("Bill", "Denney", email="wdenney@humanpredictions.com", role=c("aut", "cre"), comment=c(ORCID="0000-0002-5759-428X"))
Description:
Expand All @@ -26,7 +26,7 @@ Imports:
dplyr,
ggplot2,
glue,
knitr,
knitr (>= 1.31),
purrr,
rlang,
tibble,
Expand All @@ -36,4 +36,4 @@ URL: https://humanpred.github.io/ggtibble/, https://github.com/humanpred/ggtibbl
BugReports: https://github.com/humanpred/ggtibble/issues
Language: en-US
VignetteBuilder: knitr
Config/roxygen2/version: 8.0.0
Config/roxygen2/version: 8.1.0
25 changes: 25 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# ggtibble (development version)

* `ggtibble()` gains `footnote` and `label` arguments, glue specifications
evaluated per row like `caption`, giving `footnote` and `label` columns
(empty when not given, including from `as_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 smaller
`figure-footnote` Div 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 the `fig-` prefix gives a warning, since `@` references to it
do not resolve. A ggtibble without footnotes or labels renders as before.
* `ggsave()` on a `ggtibble` without `filename` names each file after its
label.
* Quarto renders are detected again with current Quarto versions, which no
longer set the `QUARTO_VERSION` environment variable, so the `ggtibble`
chunk option once more prefixes `fig-` to its labels and uses `fig.subcap`
for multiple captions under Quarto.

# ggtibble 1.0.4

* `gglist` objects may now nest: a `gglist` element of a `gglist` is allowed,
Expand Down
Loading
Loading