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

metatools_example(file = NULL)

Arguments

file

Name of file. If NULL, the example files will be listed.

Examples

metatools_example()
#> [1] "adsl.xpt" "dm.xpt"  
metatools_example("dm.xpt")
#> [1] "/tmp/Rtmp3uPJSS/temp_libpath3e81e338e9e03a/metatools/extdata/dm.xpt"