Skip to contents

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

Usage

get_babette_path(filename)

Arguments

filename

the file's name, without the path

Value

the full path of the filename, if and only if the file is present. Will stop otherwise.

See also

for more files, use get_babette_paths

Author

Richèl J.C. Bilderbeek

Examples

beastier::remove_beaustier_folders()
beastier::check_empty_beaustier_folders()

get_babette_path("anthus_aco.fas")
#> [1] "/usr/local/lib/R/site-library/babette/extdata/anthus_aco.fas"

beastier::remove_beaustier_folders()
beastier::check_empty_beaustier_folders()