Learn R Programming

beautier (version 2.6.12)

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

Description

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

Usage

check_file_exists(filename, filename_description = NA)

Value

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

Arguments

filename

name of the file

filename_description

description of the filename

Author

Richèl J.C. Bilderbeek

Examples

Run this code
check_empty_beautier_folder()

check_file_exists(get_beautier_path("anthus_aco_sub.fas"))

check_empty_beautier_folder()

Run the code above in your browser using DataLab