fetch_officer_object {onbrand} | R Documentation |
Extracts Officer Object From Onbrand Report Object
Description
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.
Usage
fetch_officer_object(obnd, verbose = TRUE)
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
See Also
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
[Package onbrand version 1.0.5 Index]