officer (version 0.3.0)

remove_slide: remove a slide

Description

remove a slide from a pptx presentation

Usage

remove_slide(x, index = NULL)

Arguments

x

rpptx object

index

slide index, default to current slide position.

Examples

Run this code
# NOT RUN {
my_pres <- read_pptx()
my_pres <- add_slide(my_pres,
  layout = "Two Content", master = "Office Theme")

my_pres <- remove_slide(my_pres)
# }

Run the code above in your browser using DataCamp Workspace