Create a repository
- Go to github.com
- Login or Sign up for an account
- Goto https://github.com/hampei/rstuff
- Top right corner press the fork button
- Follow the directions until you see the repository on you account.
- “Clone or download” > “use HTTPS” > copy url
Checkout repository
- Open RStudio
- File > New Project
- Version Control > Git
- paste github url
- select a parent directory
- “Create Project”
install packages
install.packages("packrat")
packrat::restore()
test basics
rmarkdown::render_site(input="site", quiet=F)
- Open site/html/index.html