check_filename {beautier}R Documentation

Check if the 'filename' is valid

Description

Calls stop if the filename is invalid

Usage

check_filename(filename, allow_empty_str = FALSE, allow_na = FALSE)

Arguments

filename

a filename, as can be checked by check_filename

allow_empty_str

allow a string to be empty

allow_na

allow NA

Value

The filename (invisibly)

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

check_filename("trace.log")
check_filename("my.trees")

check_empty_beautier_folder()

[Package beautier version 2.6.12 Index]