Get the file name for a given slide
get_slide_file_name(pptx, index, error_call = current_env())A PowerPoint wrapped in a <pptx_container> object. see load_pptx()
slide index
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.
The file name for the slide, as a character string
pptx <- example_pptx()
get_slide_file_name(pptx, index = 1)
#> [1] "/tmp/RtmphEF2AD/file22d0195880b6/ppt/slides/slide1.xml"