Skip to content

Commit

Permalink
Direct formatted output from as_result_df (#793)
Browse files Browse the repository at this point in the history
* better docs

* order and addition of features on top of v0_experimental

* expanded tests

* fixes

* news

* styling

* adding stringi

* news

* integer fix
  • Loading branch information
Melkiades authored Nov 29, 2023
1 parent 478e637 commit c4018e7
Show file tree
Hide file tree
Showing 12 changed files with 500 additions and 288 deletions.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ Depends:
methods,
R (>= 2.10)
Imports:
checkmate (>= 2.1.0),
grid,
htmltools (>= 0.5.4),
stats
stats,
stringi (>= 1.6)
Suggests:
broom (>= 0.7.10),
car (>= 3.0-13),
checkmate (>= 2.1.0),
dplyr (>= 1.0.5),
flextable (>= 0.8.4),
knitr (>= 1.42),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* Added `header_section_div` setters and getters for layout and table objects along with
related `basic_table` parameter.
* Added `na_str` argument to `analyze_colvars` to set custom string to print in place of missing values.
* Added flat `data.frame` outputs for `as_result_df()` via flag parameters `as_viewer`, `as_strings`, and
`expand_colnames`.

### Bug Fixes
* Fixed a bug that was failing when wrapping and section dividers were used at the same time.
Expand All @@ -22,6 +24,8 @@
* Started deprecation cycle for `col_fnotes_here` to be replaced with `col_footnotes`.
* Exported `section_div` methods now have a dedicated documentation page that is visible to users.
* When tables are exported as `txt`, they preserve the horizontal separator of the table.
* Added imports on `stringi` and `checkmate` as they are fundamental packages for string handling and
argument checking.

## rtables 0.6.5
### New Features
Expand Down
Loading

0 comments on commit c4018e7

Please sign in to comment.