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 July 9, 2024, 6:14 a.m.