Science Score: 65.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
    Organization lmu-osc has institutional domain (www.osc.uni-muenchen.de)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.9%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
Statistics
  • Stars: 19
  • Watchers: 0
  • Forks: 25
  • Open Issues: 14
  • Releases: 0
Created over 6 years ago · Last pushed 10 months ago
Metadata Files
Readme License Citation

README.md

Introduction to version control with Git and GitHub within RStudio

About this work

This work was originally created by Mike Croucher from RSE-Sheffield under a Creative Commons Attribution Share Alike 4.0 International. The original repository was created for a workshop organised by Malika Ihle at the International Society for Behavioural Ecology conference in 2016. It was subsequently adapted by Malika for Reproducible Research Oxford. It is now maintained by Malika Ihle for the LMU Open Science Center. The overview image is from Dumitru Uzun. You are free to use this work in your own projects.

Before the session

Please watch this 10 min introductory videorecording.

Overview of the exercice

In this session, you are going to start using the version control system Git from within RStudio to keep your local workflow tidy while having access to all previous versions of your files. You will then backup your workflow online on a remote GitHub server, which will allow you to access your work from any computer, and sharing it with your collaborators or publically. Specifically, you will
* install and configure Git (as well as R and RStudio if needed), and create a GitHub account
* create a local RStudio project under version control
* make changes and commit them to your local repository (i.e. save your changes locally in your version control system)
* connect your local repository to your GitHub account by creating a remote GitHub repository and setting it as the 'origin' of your local repository from the command line (this is the procedure you will have to follow to 'upgrade' your former RStudio projects that were not under version control and backed-up on GitHub; but in the future, I recommend you first create a GitHub repository (your remote origin) and then clone it locally (i.e. copy it to your computer while maintaining a connection to your remote (GitHub) version). This procedure, easily done from RStudio, will be covered in the second workshop)
* push your local changes to your remote repository (i.e. synchronise your changes to your GitHub version)

Once this workflow is set up, you can easily work with several computers or with collaborators: if you have changes in your GitHub version (if you or a collaborator pushed changes from another computer or if you made changes online, directly on GitHub), you can pull them into your local version (i.e fetch changes and merge them locally, to keep your copy up-to-date).




Step-by-step tutorial

The material is self-paced and includes a worked-example. It is necessary that you work through the sections in order.

Owner

  • Name: LMU Open Science Center
  • Login: lmu-osc
  • Kind: organization
  • Location: Germany

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Croucher"
  given-names: "Mike""
  affiliation: "Community Developer Advocate, MathWorks"
title: "Introduction to version Control with git and GitHub within RStudio"
version: 1.0.0
doi:
date-released: 2016-09-03
repository-code: "https://github.com/lmu-osc/Introduction-RStudio-Git-GitHub"
url: "https://github.com/lmu-osc/Introduction-RStudio-Git-GitHub"

GitHub Events

Total
  • Issues event: 14
  • Delete event: 1
  • Issue comment event: 23
  • Push event: 19
  • Pull request review event: 1
  • Pull request event: 10
  • Create event: 7
Last Year
  • Issues event: 14
  • Delete event: 1
  • Issue comment event: 23
  • Push event: 19
  • Pull request review event: 1
  • Pull request event: 10
  • Create event: 7

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 9
  • Total pull requests: 6
  • Average time to close issues: 4 months
  • Average time to close pull requests: 7 days
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 1.22
  • Average comments per pull request: 0.5
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 8
  • Pull requests: 6
  • Average time to close issues: 29 days
  • Average time to close pull requests: 7 days
  • Issue authors: 3
  • Pull request authors: 3
  • Average comments per issue: 1.25
  • Average comments per pull request: 0.5
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • NeuroShepherd (8)
  • MalikaIhle (6)
  • fkohrt (1)
  • nicebread (1)
  • SvonGrebmer (1)
Pull Request Authors
  • NeuroShepherd (6)
  • Gnotic (2)
  • Riyaaa1 (2)
  • MWiehr (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/publish.yml actions
  • actions/checkout v4 composite
  • quarto-dev/quarto-actions/publish v2 composite
  • quarto-dev/quarto-actions/setup v2 composite
  • r-lib/actions/setup-r v2 composite