knitr::opts_chunk$set(echo = TRUE) les <- 5
In this lesson you will get to know many useful tools for collaboration in Github. You are required to apply them in your Data Science Projecticum
After this lesson you can do the following tasks with github and Rstudio:
Issues
fixes #<issue_number>
]Kanban & automation
Branches
Pull requests
main
The workflow proposed below is documented here:
Github issues are the core for collaboration with people within and outside your code project. Issues can be used for external people to report a bug, a feature request or a question regarding functionality or implementation. People using for example your package can ask questions or report problems in the form of an issue. Below, an example is shown for the {dplyr}
R-package, which has a huge user community.
knitr::include_graphics( here::here( "images", "dplyr_issues.png" ) )
Posting an issue when you encounter an error or bug helps developers create robuster code and is the core driving force for developing new features or resolving problems in open source software. Opening issues is an easy way to start contributing to the open source community.
When collaborating together on project repository, you can create issues to stay on track for the different actions that need to be undertaken. Issues can be related to adding functionality (code) to the project, but also to report a bug or to request the addition or improvement of documentation. You can create an issue by opening the Issues
tab and creating a new issue by clicking the green New issue
button. A form will open where you can add a title and further remarks to document your issue. The formatting of the Leave a comment
field can be entered using Markdown formatting. When creating an issue, it is important to assign (preferable one) person to the issue. You can also choose a label, and if needed you can customize the label categories. When a Kanban/Project is also linked to the organization or repo, you can also add the issue to a Kanban board. More about Kanban here \@ref(kanban-and-automation). When creating a new issue, you can also add a Milestone
. We will discuss this later \@ref(milestones)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.