R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  if (is.null(getOption("default_pptx_template"))) {
    options("default_pptx_template" = system.file(package = "officer", "template/template.pptx"))
  }
  invisible()
}

Try the r2pptx package in your browser

Any scripts or data that you put into this service are public.

r2pptx documentation built on Sept. 16, 2021, 1:07 a.m.