# Creating an onbrand object:
obnd = read_template(
template = file.path(system.file(package="onbrand"), "templates", "report.pptx"),
mapping = file.path(system.file(package="onbrand"), "templates", "report.yaml"))
# Pulling out the placeholder information:
ph = fph(obnd, "two_content_header_text", "content_left_header")
Run the code above in your browser using DataLab