The goal of staRtup is to easily create the following folders when starting-up your R Project
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("erickdacohen/staRtup")
This is a basic example which shows how easy it is to start your project with the four basic folder: data-raw, data-output, R-scripts, and resources.
library(staRtup)
staRtup()
Just running the function above will create those directories. If any or all of the directories already exist, a message will display letting the user know that the folder exists.
The best thing you can do as a coder / programmer is keep your code and relevant files organized. These four folders show the minimum recommended structure one should have when starting a new R project. What better way to save time than to just have this in a function?
###
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.