Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Getting the most out of Git

http://bit.ly/user2019-git

Getting the most out of Git

This GitHub gist will contain instructions for the useR 2019! tutorials. This is still a work in progress.

Assumed knowledge

Partipants should be familar with

  • writing basic R functions
  • basic git, e.g push, pull, commit. The initial task will be to
    • fork a repo
    • Clone the repo onto your machine
  • basic GitHub
  • writing simple R package

Before the course

Please create accounts on the following websites:

R Stuff

R Version

R 3.4 or 3.5 will almost certainly be fine for this course, but I've constructed the material using R 3.6.0, so if possible please update to the latest version of R.

RStudio or ...

I'll be using RStudio. Again, the version probably doesn't matter, but if possible, use the latest.

You don't have to use RStudio. If you use something else, please ensure you can push/pull from GitHub.

R packages

We'll use the following R packages during the tutorial:

  • remotes
  • gh
  • drat
  • roxygen2
  • usethis
  • rhub
  • devtools
  • covr
  • travis
  • RPushbullet
  • jsonlite
  • pkgdown

To install run

install.packages(c("remotes", "gh", "drat", 
                   "roxygen2", "usethis", "rhub", 
                   "devtools", "covr", "RPushbullet", 
                   "jsonlite", "pkgdown"))
remotes::install_github("ropenscilabs/travis") 

Jumping Rivers are currently developing RStudio Server/Connect monitoring software. If you are interested in being a beta tester please sign up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.