new_project | R Documentation |
This function sets up a new project within an active R project for reproducible purposes.
new_project()
The project includes:
README.md: the top level description of content in the project
Makefile
different folders to hold all data, code, results of data analysis, and documents related to the project
templates: manuscript.Rmd, code.R, etc.
A project containing folders and files for reproducible purposes.
The function should be executed within an active project.
Recommended workflow:
Create a GitHub repository for the new project. At Initialize this repository with a README, choose NO.
Create a new RStudio Project via git clone
.
Use function new_project()
to generate folders and file templates.
Reproducibile Research Tutorial Series by Pat Schloss.
if(interactive()){
new_project()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.