I've been trying to play around with RMD files to generate powerpoint slide decks. One of the critical features for me is to be able to use a custom template. Starting off with the basic template in R Studio, the only edit I made was to include a single line in the YAML header to designate the custom template:
--- title: "Powerpoint trial" author: "Mario Niepel" date: "2/1/2021" output: powerpoint_presentation: reference_doc: template.pptx ---
Without this line the PPT comes out exactly as described in the instructions:
However, when I include the template I get a warning:
And when I ask to attempt to repair the presentation, it is mostly garbled:
Even though the slide master in my template is properly designated, in the new version the slide master is essentially empty:
Is there a place the lists the exact requirements for a template? Is there something else I should be checking?
EDIT: In addition, I read up on the description for powerpoint/rmarkdown use of templates that says four levels of slides are needed for the template (Title, Title + Content, Section Header, Two Content). Those are the only four slide layouts I currently have in my template.