Convert a robodeck_section_titles
object to a character vector of section
titles (removing the "minutes" component).
Examples
# gen_deck_section_titles() returns an object that contains both the section
# titles and their anticipated length.
section_titles_object <- list(
list(title = "Slide 1", minutes = NULL),
list(title = "Slide 2", minutes = NULL),
list(title = "Slide 3", minutes = NULL)
)
extract_section_titles(section_titles_object)
#> [1] "Slide 1" "Slide 2" "Slide 3"