Get the file name for a given slide

get_slide_file_name(pptx, index, error_call = current_env())

Arguments

pptx

A PowerPoint wrapped in a <pptx_container> object. see load_pptx()

index

slide index

error_call

The execution environment of a currently running function, e.g. caller_env(). The function will be mentioned in error messages as the source of the error. See the call argument of abort() for more information.

Value

The file name for the slide, as a character string

Examples

pptx <- example_pptx()
get_slide_file_name(pptx, index = 1)
#> [1] "/tmp/RtmphEF2AD/file22d0195880b6/ppt/slides/slide1.xml"