any() where NA values were breaking things (e.g. span_table())ft_apply_md().mk_lg_tbl() to create example datasets for demonstrating/testing span_tableAdded functions to take a large table and create smaller tables to span across multiple pages in reports (span_table() and build_span())
Render markdown in specified part of a flext table (ft_apply_md())
Notes document default be added to any report.yaml files:doc_def:
Notes: Notes
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))
post_processing option for rdocx and rpptx sections. These can
be omitted or set to NULL and they will have no effect. Any R code here is
evaluated just before saving (when running save_report()) and you can
modify the object rpt (the officer report object from the obnd object).rdocx:
post_processing: NULL
rpptx:
post_processing: NULL
Added fig_start_at and tab_start_at arguments to report_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 ftext formatting 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