Skip to content

Instantly share code, notes, and snippets.

@csgillespie
Last active August 24, 2022 16:26
Show Gist options
  • Save csgillespie/447e4ebed711199a320c97a65f71da84 to your computer and use it in GitHub Desktop.
Save csgillespie/447e4ebed711199a320c97a65f71da84 to your computer and use it in GitHub Desktop.
Getting the most out of Git

Getting the most out of Git

This GitHub gist contains instructions for the R, git & travis tutorial.

Assumed knowledge

Partipants must 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.5+ will almost certainly be fine for this course, but I've constructed the material using R 4.0.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
  • travis
  • pkgdown

To install run

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

Jumping Rivers are RStudio preferred partners. We provide:

  • online training
  • R & Python consultancy
  • Shiny development
  • Infrastrture development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment