Skip to content

Commit

Permalink
Fix indentation bugs and a couple of other issues (#912)
Browse files Browse the repository at this point in the history
#903 #909 and some from #738

---------

Signed-off-by: Davide Garolini <[email protected]>
Co-authored-by: 27856297+dependabot-preview[bot]@users.noreply.github.com <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 30, 2024
1 parent d8e1aa8 commit b1c2a12
Show file tree
Hide file tree
Showing 7 changed files with 236 additions and 97 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ Suggests:
broom (>= 1.0.6),
car (>= 3.0-13),
dplyr (>= 1.0.5),
flextable (>= 0.9.5),
flextable (>= 0.9.6),
knitr (>= 1.42),
officer (>= 0.5.0),
officer (>= 0.6.6),
r2rtf (>= 0.3.2),
rmarkdown (>= 2.23),
survival (>= 3.3-1),
Expand Down
4 changes: 2 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ export(rtable)
export(rtablel)
export(sanitize_table_struct)
export(section_div)
export(section_properties_landscape)
export(section_properties_portrait)
export(section_properties_default)
export(select_all_levels)
export(simple_analysis)
export(sort_at_path)
Expand Down Expand Up @@ -197,6 +196,7 @@ export(value_at)
export(value_formats)
export(value_names)
export(vars_in_layout)
export(word_mm_to_pt)
exportClasses(ContentRow)
exportClasses(CumulativeCutSplit)
exportClasses(DataRow)
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## rtables 0.6.9.9010
### Features
* Modified `reorder_split_levels()` to cover more edge cases and be more stringent in the allowed inputs.
* Removed `tt` input from `theme_docx_default()` and added internal handling for row classes and number of columns.
* Reworked padding and spacing in default theme `theme_docx_default()`.
* Added top left information handling (now bold and bottom aligned).

### Bug Fixes
* Fixed `"\n"` newline issues in `as_html` by relying onto output devices for newline handling. Added `expand_newlines = FALSE` default to allow previous behavior.
Expand Down
Loading

0 comments on commit b1c2a12

Please sign in to comment.