Giter Club home page Giter Club logo

collaborative-rstudio-github's Introduction

Collaborative coding with GitHub and RStudio

About this work

This work was originally created by Anna Krystalli from RSE-Sheffield under a MIT licence, and was subsequently adapted by Malika Ihle from Reproducible Research Oxford, with the contributions of Adam Kenny. The overview image is from Dumitru Uzun. The exercice is based on the research of Jen Bright who also kindly provided the gifs used in the exercice. You are free to use, copy, modify, distribute this work for your own projects.

This session follows-up from the Introduction to RStudio, Git, and GitHub and is accompanied by this 10 min introductory videorecording.


Overview of the exercice

In this session, you will

  • fork a GitHub repository (i.e. copy a collaborator's repository to your own GitHub account)
  • clone it locally (i.e. copy it to your computer while maintaining a connection to your remote (GitHub) version)
  • create a new file locally and commit it to your local repository (i.e. save the file locally in your version control system)
  • push your changes to your GitHub version (i.e. synchronise your local changes with your remote repository)
  • contribute a file to the original repository by making a pull request (i.e. request your collaborator, the owner of the original repository, to fetch your proposed changes and merge them into the original repository)
  • observe the outcome of all contributions merged by your collaborator
  • pull the upstream repository into your fork (i.e. update your fork to reflect all the changes that happened in your collaborator's original repository)


In this example, the file you will contribute is required to simulate the evolutionary trajectory of an imaginary bird species’ body size. We will use RStudio and GitHub to collate all species files and plot them all up together at the end. We will also discover the skull and beak shapes associated with each species you contributed (after they 'evolved' through a simple brownian motion model which assumes steps to progress completely at random).


Step-by-step tutorial

The material is self-paced and it is necessary that you work through the sections in order.

  • Fork - Copy your collaborator's repository
  • Clone - Copy your repository locally
  • Commit - Make changes and save them locally
  • Push - Update your remote repository with your local changes
  • Pull request - Ask your collaborator to integrate your changes in their repository
  • Merged results - Observe the merge of all contributions
  • Pull the upstream repository into your fork - Update your fork with all contributions made to the original repository

collaborative-rstudio-github's People

Contributors

malikaihle avatar annakrystalli avatar adamrkenny avatar hendyelpacheco avatar bavuwadah avatar stodo3569 avatar lucitropie avatar bnorthoff avatar matthewpileggi avatar jbostockjones avatar joannacull avatar ilsepit avatar eussutu avatar amanialtawil avatar alejandrog-v avatar santiago-0rtega avatar sophielwilliams avatar stefandehos avatar svenkasser avatar tswilson-24 avatar timothyharris avatar wenlini2023 avatar ol3378 avatar aksel-sp avatar amemame avatar dianalir avatar gkhngnl avatar exunckly avatar miamariaguenak avatar sachasalphati avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.