Determine if the object is a valid beauti_options
beauti_options
is_beauti_options(x)
x
: an object, to be determined if it is a beauti_options
TRUE if the object is a valid beauti_options
, FALSE otherwise
check_empty_beautier_folder() # TRUE is_beauti_options(create_beauti_options()) # FALSE is_beauti_options("nonsense") is_beauti_options(NA) is_beauti_options(NULL) is_beauti_options("") is_beauti_options(c()) check_empty_beautier_folder()
use create_beauti_options to create a valid beauti_options
object
Richèl J.C. Bilderbeek
Useful links