ecohealthalliance / ehastyle

R Markdown templates for EHA documents
8 stars 3 forks source link

Create template export function #30

Open collinschwantes opened 3 years ago

collinschwantes commented 3 years ago

An idea to use with this and #20 is to have a simple function like eha_pptx_template(template = c("classic", "avenir"), outfile = "template.pptx") that grabs these templates using system.file() and dumps them in the work directory and opens them. That means that someone making a presentation manually grabs the same template as would be used from an Rmd. It also means that the version kept here can be version-controlled and up-to-date (as well as web accessible). Non R/GitHub users of course might go somewhere else, but it's not like there is a canonical version well-documented anywhere.