Skip to contents

Check whether the passed dir_path directory exists. If not, creates a new directory and prints a msg message if trace is TRUE.

Usage

create_dir(dir_path, trace, msg = "Creating Directory", msg_fun = TRUE)

Arguments

dir_path

string A new directory path that should be created.

trace

bool Whether a msg message should be printed.

msg

string A message that should be printed if trace is TRUE.

msg_fun

func Function used for printing the message.

Value

TRUE or FALSE depending on whether the shiny app is active.