srt_example: Get path to srt example

Description Usage Arguments Value Examples

View source: R/example.R

Description

srt comes bundled with a number of sample files in its inst/extdata directory. This function make them easy to access.

Usage

1

Arguments

file

Name or number of file. If NULL, file names are be listed.

Value

The path or name to example .srt files.

Examples

1
2
3
srt_example()
srt_example(1)
srt_example("toy-story.en.srt")

srt documentation built on Nov. 30, 2020, 9:06 a.m.