-
Notifications
You must be signed in to change notification settings - Fork 417
Closed
Description
It is probably related : after 1.4.358 (so since 1.4.366 and after), label: tbl-xxxx raises an error when rendered.
a qmd to reproduce the error:
---
title: "table"
format: html
---
```{r}
#| label: tbl-unetable
library(gt)
start_date <- "2010-06-07"
end_date <- "2010-06-14"
sp500 |>
dplyr::filter(date >= start_date & date <= end_date) |>
dplyr::select(-adj_close) |>
gt() |>
tab_header(
title = "S&P 500",
subtitle = glue::glue("{start_date} to {end_date}")
) |>
fmt_currency() |>
fmt_date(columns = date, date_style = "wd_m_day_year") |>
fmt_number(columns = volume, suffixing = TRUE)
```
Originally posted by @xtimbeau in #6871 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working