Check whether the passed dir_path
directory exists. If not, creates a new directory and prints a msg
message if trace
is TRUE
.
create_dir(dir_path, trace, msg = "Creating Directory", msg_fun = TRUE)
TRUE
or FALSE
depending on whether the shiny app is active.
string
A new directory path that should be created.
bool
Whether a msg
message should be printed.
string
A message that should be printed if trace
is TRUE
.
func
Function used for printing the message.
Other Utils:
auto_n_cores()
,
clean_pytorch_log_transformers()
,
create_config_state()
,
generate_id()
,
get_file_extension()
,
get_py_package_versions()
,
is.null_or_na()
,
output_message()
,
print_message()
,
run_py_file()