Day 1, Session 4
- Intro to GitHub and Git, with RStudio
- Using R Markdown and R with Git, GitHub, and RStudio (if time permits)
- instructor-led activities
- if time permits, work on porting packages-report project into a GitHub-synced repo
- Keep working in the project we initiated on GitHub, then cloned, and practiced in.
- Go through several cycles of: bring R script over, commit & push, execute script, see the output appear, commit and push, etc.
- Play with rendering to
.mdif you like.
- We’ll work up to finishing it with a README.
- The project you downloaded earlier today, via
use_course("rstd.io/wtf-packages-report"), provides everything you need to finish this off, i.e.
shhh-secret-for-later-README.Rmdis a nice start for a README.
- The finished product I showed you is here: https://github.com/rstats-wtf/wtf-packages-report-EXAMPLE
- A version from Jim Hester that include a proper Makefile https://github.com/jimhester/my-packages/tree/jims
- Git/GitHub motivator and explainer: “Excuse me, do you have a moment to talk about version control?”
- PeerJ preprint: https://dx.doi.org/10.7287%2Fpeerj.preprints.3159v2
- In The American Statistician: https://www.tandfonline.com/doi/full/10.1080/00031305.2017.1399928
- New project, GitHub first
- Test drive R Markdown
- Render an R script