Improvements
col_style_plan
in the creation of mock data.Bug fixes
frmt_when
dropped quotes from stringsdplyr::summarise()
Bug fixes
body_plan
may error if the grouping variable is a factorBug fixes
frmt_combine
couldn't process variable names surrounded by backticksrow_grp_plan
post space did not respect col_style_plan
widths by adding new fill
argument to element_block
. The fill
argument controls whether post space values should be recycled for the cell's data width. For example, a cell width of 3 will be respected by the post space with the following syntax: element_block(post_space = "---", fill = FALSE)
.border
argument in element_block
.row_grp_plan
splits on all grouping variables, even if not mentioned. Instead, the logic has been updated to split on those explicitly mentioned, similar to page_plan
.unicode_ws
argument added to print_to_gt()
and print_mock_gt()
. This defaults to TRUE
but should be set to FALSE
for RTF outputs (until {gt} bug is resolved).make_mock_data
could result in duplicate rowsNew features:
col_style_plan
). Alignment options now fall into two types: character (type = "char") and positional (type = "pos"). Positional alignment is new and allows for aligning across multiple positions.page_plan
for splitting tables across multiple pagescol_plan
Breaking changes:
row_grp_plan
that stores row_grp_structure
s has been changed from "struct_ls" to "struct_list" to be consistent with other objects. This may impact compatibility with JSON files created using prior versions of {tfrmt}.Bug fixes:
frmt_combine
no longer throws error if group variable is named "var"row_grp_plan
with post-space no longer throws error if character column contains NA valuesfrmt()
NEWS.md
file to track changes to the package.