Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 1.93 KB

README.md

File metadata and controls

67 lines (40 loc) · 1.93 KB

2017-03-17-Git-R

Git, GitHub, and R

Wondering what this Git thing is? https://www.rstudio.com/resources/videos/happy-git-and-gihub-for-the-user-tutorial/

Getting Help

Local

Worldwide

The Good Stuff

BOOK Happy Git and GitHub for the useR

VIDEO Happy Git and GitHub

BOOK R Packages (Chapter git)

Software Carpentry: http://swcarpentry.github.io/git-novice/

Cheatsheets

RStudio IDE Cheat Sheet

Package Development Cheat Sheet

RStudio and devtools

https://cran.r-project.org/web/packages/devtools/README.html

  • RStudio and GitHub together are very powerful
  • install_github
  • check out package
  • create package, start version control, link to GitHub
  • Travis, Appveyor, covr, badges, R-hub,

Key tricks

devtools::create("../newpkg")

devtools::use_readme_rmd()

devtools::use_vignette("")

devtools::build()  ## Ctrl/Cmd-SHIFT-B

devtools::check()  ## Ctrl/Cmd-SHIFT-E

devtools::release()