Easily access example data.
tor_example(path = NULL)
path | Length-1 character vector. A path to an available directory. |
---|
A character string listing available directories or a length-1 string giving a path to a directory.
Copied from readr_example()
from the readr package, by Jim
Hester and colleagues.
tor_example()#> [1] "csv" "mixed" "rdata" "rds" "tsv"tor_example("csv")#> [1] "/home/runner/work/_temp/Library/tor/extdata/csv"#> [1] "csv1.csv" "csv2.csv"