The directory is created when needed if it doesn't already exist.

sbf_set_main(..., rm = FALSE, ask = getOption("sbf.ask", TRUE))

Arguments

...

One or more character vectors which are combined together.

rm

A flag specifying whether to remove the folder and all its contents if it already exists.

ask

A flag specifying whether to ask before removing the existing folder.

Value

An invisible string of the path to the main folder.