While working on the Quarto version of OTTR, I noticed that the include_slide() function was downloading a Google Slide deck as a PPTX file with get_gs_pptx(url).
After investigation, I realized that this was unnecessary as the line below, outfile <- gs_png_download(url, output_dir, overwrite = overwrite) was sufficient to download the individual slide from Google Slides as a PNG file and the next line,
knitr::include_graphics(outfile, ...) embeds the PNG file in the document.
While working on the Quarto version of OTTR, I noticed that the
include_slide()
function was downloading a Google Slide deck as a PPTX file withget_gs_pptx(url)
.After investigation, I realized that this was unnecessary as the line below,
outfile <- gs_png_download(url, output_dir, overwrite = overwrite)
was sufficient to download the individual slide from Google Slides as a PNG file and the next line,knitr::include_graphics(outfile, ...)
embeds the PNG file in the document.