new_project | R Documentation |
Create all the scaffolding for a new project in a new directory. The scaffolding includes a DESCRIPTION
and NAMESPACE
file, .gitignore
, different folders to hold raw data, outputs, documents, figures, and scripts, as well as RProject
infrastructure. Also, optionally, set a GitHub repo and exclude geo data directories.
new_project(name, path = getwd(), github = FALSE, private_repo = TRUE)
name |
Name of the new project. A new folder will be created with that name. |
path |
Path of the new project where the folder is created. If empty then the current working directory is used. |
github |
Logical. Create GitHub repo? Note this requires a |
private_repo |
Logical. Should the repo be private or public? Default is |
A new directory with a project structure based on the common package structure, slightly modified. Also includes scripts for start and end of each project.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.