Appends report elements to a formods report.
Arguments
- state
MB state from
MB_fetch_state()
- rpt
Report with the current content of the report which will be appended to in this function. For details on the structure see the documentation for
formods::FM_generate_report()
- rpttype
Type of report to generate (supported "xlsx", "pptx", "docx").
- gen_code_only
Boolean value indicating that only code should be generated (
FALSE
).
Value
list containing the following elements
isgood: Return status of the function.
hasrptele: Boolean indicator if the module has any reportable elements.
code: Code to generate reporting elements.
msgs: Messages to be passed back to the user.
rpt: Report with any additions passed back to the user.