mintyr
comes bundled with a number of sample files in its inst/extdata
directory. This function lists all available example files, optionally filtered
by a pattern.
mintyr_examples(pattern = NULL)
A character vector containing the names of example files. If no files match the pattern or if the example directory is empty, returns a zero-length character vector.
mintyr_example()
to get the full path of a specific example file
# List all example files
mintyr_examples()
#> [1] "csv_test1.csv" "csv_test2.csv" "xlsx_test1.xlsx" "xlsx_test2.xlsx"