Check if the argument can be used as a table name
Usage
check_table_name(table_name)
Arguments
- table_name
R object to be checked for usage as a table name
Examples
try(check_table_name(c("more", "than", "one", "string")))
#> Error : table_name must be a vector of character of length one
try(check_table_name("one_is_ok"))