- fixed use of
any()whereNAvalues were breaking things (e.g.span_table())
- Added the ability to specify the rows (prows) and columns (pcols) when calling
ft_apply_md(). - Updated the default PowerPoint template to give more space to the main body of the slides.
- Updated default PowerPoint template with a wider slide.
- Added function
mk_lg_tbl()to create example datasets for demonstrating/testing span_table
- Stripped out the slip_in_seqfield and slip_in_text functions
- Added the ability to place content in arbitrary locations on slides in PowerPoint.
-
Added functions to take a large table and create smaller tables to span across multiple pages in reports (
span_table()andbuild_span()) -
Render markdown in specified part of a flext table (
ft_apply_md())
- The addition of notes option for tables and figures in Word reporting requires the
Notesdocument default be added to anyreport.yamlfiles:
doc_def:
Notes: Notes
- Added the formatting options for separator (regional configuration variable that seems to be different between Europe and the US), and several table and figure formatting options: order, sequence IDs, and how numbering will be done (allows Figure 1 or Figure 3-1 (for section 3), etc.)
formatting:
separator: ","
Table_Order:
- table
- notes
- caption
Figure_Order:
- figure
- notes
- caption
Figure_Seq_Id: "Figure"
Figure_Number: |-
list(officer::run_autonum(pre_label = "",
seq_id = Caption_Seq_Id,
post_label = "",
start_at = Caption_Start_At))
Table_Seq_Id: "Table"
Table_Number: |-
list(officer::run_autonum(pre_label = "",
seq_id = Caption_Seq_Id,
post_label = "",
start_at = Caption_Start_At))
- Adding
post_processingoption forrdocxandrpptxsections. These can be omitted or set to NULL and they will have no effect. Any R code here is evaluated just before saving (when runningsave_report()) and you can modify the objectrpt(the officer report object from theobndobject).
rdocx:
post_processing: NULL
rpptx:
post_processing: NULL
-
Added
fig_start_atandtab_start_atarguments toreport_add_doc_content()to support chapter specific numbering (e.g. Figure 3-1, Figure 3-2, Figure 4-1, etc). -
Added notes option for tables and figures in Word reporting.
-
Created
ftextformatting for captions and notes added to figures and tables. -
Support for multipage figures and tables (e.g. pagenated figures). By specifying the same key for a figure (or table) the first instance will be the figure and subsequent instances will be references to the first.
-
Support for crossreferencing figures and tables with markdown.
-
updated diagnostic messages to include package name
-
added NEWS.md
-
Added the function
template_details- Provide onbrand names for template elements
- Created tests
- Updated vignettes
- Submitted to CRAN