Skip to content

pasefiguredivs fatal error  #6878

@cderv

Description

@cderv

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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions