R/pptx_presentation.R

Defines functions pptx_presentation

Documented in pptx_presentation

#' Powerpoint (pptx) document output format, with optional themes
#'
#' @param theme Name of theme to use when styling output presentation
#'
#' @export
pptx_presentation <- function(theme = "red") {

	# choose style template
	refdoc = bscContentHelpers::find_theme_doc(theme, "pptx")

	# call the base powerpoint_presentation function
	rmarkdown::powerpoint_presentation(
		reference_doc = refdoc
	)
}
rmlane/bscContentHelpers documentation built on Jan. 30, 2024, 9:43 a.m.