Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor of as_result_df #954

Merged
merged 16 commits into from
Nov 20, 2024
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
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ export(ref_msg)
export(ref_symbol)
export(remove_split_levels)
export(reorder_split_levels)
export(result_df_specs)
export(rheader)
export(rm_all_colcounts)
export(row_cells)
Expand Down
12 changes: 9 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
## rtables 0.6.10.9004

### Miscellaneous
* Split `docx` document generation to the new package [`rtables.officer`](https://github.com/insightsengineering/rtables.officer).

### New Features
* Experimental pagination is now possible in `tt_as_flextable()` and `export_as_docx()`.
* Added handling of widths in `tt_as_flextable()`. Now it is possible to change column widths for `.docx` exports.
* Initialized vignette about quality control outputs of `as_result_df()`.
* Initialized parameter `make_ard` output for single-line statistical outputs.

### Miscellaneous
* Split `docx` document generation to the new package [`rtables.officer`](https://github.com/insightsengineering/rtables.officer).
* Refactored `as_result_df()` parameters `as_strings` and `as_viewer` into `data_format = c("full_precision", "strings", "numeric")` following the same outputs.
* Refactored `as_result_df()` to have a standard behavior, with all the relevant parameters, and a possibility to add personalized `spec`.
* Removed `result_df_specs()`, because `as_result_df()` was a too shallow wrapper.
* Merged behavior of `as_result_df()` parameters `as_is` and `simplify` parameters to remove structural information.

### Bug Fixes
* Fixed bug that was keeping indentation space characters in top left information when making a `flextable` from a `TableTree` object.
Expand Down
Loading
Loading