Make a `R2PptxSlide` object representing a PowerPoint slide.

new_slide(layout, elements = list())

Arguments

layout

character. Name of the PowerPoint layout to use for this slide.

elements

list. List of `R2PptxElements` to initialize the slide with. Defaults to empty list.

Value

An object of class R2PptxSlide representing a future PowerPoint slide.