Skip to content

Commit

Permalink
Prototypes for docx (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melkiades authored Sep 26, 2023
1 parent 7d6d085 commit a6fbf53
Show file tree
Hide file tree
Showing 7 changed files with 990 additions and 261 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Imports:
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 All @@ -54,7 +55,7 @@ VignetteBuilder:
knitr
Config/Needs/verdepcheck: insightsengineering/formatters,
tidyverse/magrittr, rstudio/htmltools, tidymodels/broom, cran/car,
tidyverse/dplyr, davidgohel/flextable, yihui/knitr,
mllg/checkmate, tidyverse/dplyr, davidgohel/flextable, yihui/knitr,
davidgohel/officer, Merck/r2rtf, r-lib/testthat, tidyverse/tibble,
tidyverse/tidyr, r-lib/xml2
Encoding: UTF-8
Expand Down
6 changes: 6 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export(do_base_split)
export(drop_and_remove_levels)
export(drop_facet_levels)
export(drop_split_levels)
export(export_as_docx)
export(export_as_pdf)
export(export_as_tsv)
export(export_as_txt)
Expand All @@ -108,6 +109,8 @@ export(make_col_df)
export(make_split_fun)
export(make_split_result)
export(manual_cols)
export(margins_landscape)
export(margins_potrait)
export(no_colinfo)
export(non_ref_rcell)
export(obj_avar)
Expand Down Expand Up @@ -139,6 +142,8 @@ export(rrowl)
export(rtable)
export(rtablel)
export(sanitize_table_struct)
export(section_properties_landscape)
export(section_properties_portrait)
export(select_all_levels)
export(simple_analysis)
export(sort_at_path)
Expand All @@ -161,6 +166,7 @@ export(table_shell)
export(table_shell_str)
export(table_structure)
export(tail)
export(theme_docx_default)
export(top_left)
export(tree_children)
export(trim_levels_in_facets)
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## rtables 0.6.3.9001
### New Features
* Added support for `.docx` exports with `export_as_docx()`.
* Expanded support for `flextable` customization with theme function specific for word documents (`theme_docx_default()`).

### Miscellaneous
* Specified minimal version of package dependencies.

Expand Down
Loading

0 comments on commit a6fbf53

Please sign in to comment.