Function to check if a file exists. Calls stop if the file is absent

check_file_exists(filename, filename_description = NA)

Arguments

filename

name of the file

filename_description

description of the filename

Value

nothing. Will stop if the file is absent, with a proper error message

Author

Richèl J.C. Bilderbeek

Examples

check_file_exists(get_beautier_path("anthus_aco_sub.fas"))