Set Sub Folder

sbf_set_sub(..., 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 specifying the new sub folder.

Examples

sbf_set_sub("nameofsub")
sbf_get_sub()
#> [1] "nameofsub"
sbf_reset_sub()