knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of gitgantt is to make it easier to create project plans via GitHub.
Problem: you need to show your plan in a report or funding application, but all the planned work is stashed in GitHub issues.
Solution: add lines containing GanttStart:
and GanttDue:
to your issues and use gitgantt to convert them into an attractive Gantt chart in a single line of code!
library(gitgantt) gg_timevis(owner = "robinlovelace", repo = "gitgantt")
Install the development version from GitHub with:
remotes::install_github("robinlovelace/gitgantt")
The packages uses gh
to extract issue data from GitHub and code inspired by jennybc/analyze-github-stuff-with-r to clean the data into a tibble
:
issue_list = gg_issue_list(owner = "ATFutures", repo = "who3") issue_df = gg_issue_df(issue_list) issue_df
This project is inspired by and builds on:
gh
in the analyze-github-stuff-with-r by Jenny BryanGanttStart:
conventiongh-issues-gantt
JavaScript package, which in turn builds on jQuery.Gantt (raising the possibility for using this for the visualisation)gh
R package, an interface GitHub's APIvistime
R package for creating interactive Gantt chartsAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.