View source: R/create_proj_folders.R
create_proj_folders | R Documentation |
A helper function that will create folders for an analysis project in the
directory that is specified. Note that established folders should not be
overwritten since this funcion relies on fs::dir_create()
but do use
caution.
create_proj_folders(
main_dir = getwd(),
sub_dir = NULL,
is_iit = FALSE,
folder_names = c("admin", "code", "data", "deliverables", "docs")
)
main_dir |
File path to the main directory where you want to create
folders. Default is the current working directory ( |
sub_dir |
Name of the sub-directory where you want to create folders.
Default is |
is_iit |
Default is |
folder_names |
A character vector of the folder names to create in the directory that you specified. Defaults are 'c("admin", "code", "data", "deliverables", "docs"). |
## Not run:
create_proj_folders(main_dir = "/Users/latour/Desktop/",
sub_dir = "new_folder")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.