Make a new `R2PptxElement`. Element represent text, a flextable, an image, a ggplot2, etc to add to a slide.

new_element(key, value)

Arguments

key

character. Name of the placeholder label for this element.

value

object. Object to put into a PowerPoint slide, eg text or a plot.

Value

An object of class R2PptxElement representing something to put on a slide.