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

View source: R/check_file_exists.R

check_file_existsR Documentation

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)

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(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

check_file_exists(get_beautier_path("anthus_aco_sub.fas"))

check_empty_beautier_folder()

ropensci/beautier documentation built on April 2, 2024, 5:01 a.m.