Skip to contents

Get the full path of a file in the inst/extdata folder

Usage

get_tracerer_path(filename)

Arguments

filename

the file's name, without the path

Value

the full path to the filename

See also

for more files, use get_tracerer_paths

Author

Richèl J.C. Bilderbeek

Examples

get_tracerer_path("beast2_example_output.log")
#> [1] "/usr/lib/R/site-library/tracerer/extdata/beast2_example_output.log"
get_tracerer_path("beast2_example_output.trees")
#> [1] "/usr/lib/R/site-library/tracerer/extdata/beast2_example_output.trees"
get_tracerer_path("beast2_example_output.xml")
#> [1] "/usr/lib/R/site-library/tracerer/extdata/beast2_example_output.xml"
get_tracerer_path("beast2_example_output.xml.state")
#> [1] "/usr/lib/R/site-library/tracerer/extdata/beast2_example_output.xml.state"