insightsengineering / formatters

A framework for creating listings of raw data that include specialized formatting, headers, footers, referential footnotes, and pagination.
https://insightsengineering.github.io/formatters/
Other
15 stars 6 forks source link

rtables summarize_row_groups fails with export_as_txt #233

Closed shajoezhu closed 9 months ago

shajoezhu commented 11 months ago
basic_table() %>%
  split_rows_by("Species") %>%
  summarize_row_groups("Sepal.Length") %>%
  build_table(iris) %>%
  export_as_txt()
gmbecker commented 10 months ago

This table will not be paginatable, and pagination differences are the only meaningful reason to use summarize_row_groups instead of analyze within the deepest level of row splitting. I have trouble believing this is actually something someone correctly needs to do...