Extracts Officer Object From Onbrand Report Object
Source:R/fetch_officer_object.R
fetch_officer_object.Rd
If you need modify the onbrand report object directly with officer functions you can use this function to extract the report object from the onbrand object.
Arguments
- obnd
onbrand report object
- verbose
Boolean variable when set to TRUE (default) messages will be displayed on the terminal; Messages will be included in the returned onbrand object.
Value
List with the following elements
isgood: Boolean variable indicating success or failure
rpt: Officer object
msgs: Vector of messages
Examples
obnd = read_template(
template = file.path(system.file(package="onbrand"), "templates", "report.pptx"),
mapping = file.path(system.file(package="onbrand"), "templates", "report.yaml"))
rpt = fetch_officer_object(obnd)$rpt