mpactr contains a number of example files in the inst/extdata
directory.
This function makes them accessible in documentation that shows how file
paths are used in function examples.
Examples
example_path()
#> [1] "PTY087I2_dataset.csv" "PTY087I2_extractmetadata.csv"
#> [3] "PTY087I2_samplelist.csv" "coculture_peak_table.csv"
#> [5] "cultures_metaboscape_metadata.csv" "cultures_metaboscape_peaktable.csv"
#> [7] "cultures_metadata.csv" "cultures_peak_table.csv"
#> [9] "ion_masses" "metadata.csv"
example_path("metadata.csv")
#> [1] "/home/runner/work/_temp/Library/mpactr/extdata/metadata.csv"