Description Usage Arguments Examples
View source: R/create_hot_project.R
Creates a directory with the essential files for a new project.
The function can be used on existing project directories as well.
This is a thin wrapper for starter::create_project() that
sets the default template to template = hotfun::project_template
| 1 2 3 4 5 6 | create_hot_project(
  path,
  path_data = NULL,
  template = hotfun::project_template,
  ...
)
 | 
| path | A path. If it exists, it is used. If it does not exist, it is created. | 
| path_data | A path. The directory where the secure data exist. Default is
 | 
| template | Specifies template for  | 
| ... | Arguments passed on to  
 | 
| 1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run: \donttest{
# specifying project folder location (folder does not yet exist)
project_path <- fs::path(tempdir(), "My Project Folder")
# creating folder where secure data would be stored (typically will be a network drive)
secure_data_path <- fs::path(tempdir(), "secure_data")
dir.create(secure_data_path)
# creating new project folder
create_hot_project(project_path, path_data = secure_data_path)
}
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.