lpptx = view_layout(
template = file.path(system.file(package="onbrand"), "templates", "report.pptx"),
output_file = file.path(tempdir(), "layout.pptx"))
ldocx = view_layout(
template = file.path(system.file(package="onbrand"), "templates", "report.docx"),
output_file = file.path(tempdir(), "layout.docx"))
Run the code above in your browser using DataLab