Skip to contents

Get the full paths of files in the inst/extdata folder

Usage

get_beastier_paths(filenames)

Arguments

filenames

the files' names, without the path

Value

the filenames' full paths. Will stop if a file is absent in the inst/extdata folder

See also

for one file, use get_beastier_path

Author

Richèl J.C. Bilderbeek

Examples

get_beastier_paths(
  c(
    "beast2_example_output.log",
    "beast2_example_output.trees",
    "beast2_example_output.xml",
    "beast2_example_output.xml.state"
  )
)
#> [1] "/usr/local/lib/R/site-library/beastier/extdata/beast2_example_output.log"      
#> [2] "/usr/local/lib/R/site-library/beastier/extdata/beast2_example_output.trees"    
#> [3] "/usr/local/lib/R/site-library/beastier/extdata/beast2_example_output.xml"      
#> [4] "/usr/local/lib/R/site-library/beastier/extdata/beast2_example_output.xml.state"