spiral_git_commits | R Documentation |
Visualize git commits
spiral_git_commits(
repo = ".",
show_legend = TRUE,
start = NULL,
end = Sys.Date(),
pt_range = c(2, 16),
commits_range = c(1, ceiling(quantile(n[n > 0], 0.95))),
type = c("points", "heatmap"),
colors = c("#3288BD", "#99D594", "#E6F598", "#FFFFBF", "#FEE08B", "#FC8D59", "#D53E4F")
)
repo |
Path of the git repo. The value can be a single repo or a vector of repos. |
show_legend |
Whether to show the legend. |
start |
Start date. By default it is the first date of the commit. The value can be a string such as "2022-01-01" or a |
end |
End date. By default it is the current date. The value can be a string such as "2022-01-01" or a |
pt_range |
Range of the point sizes. The default is between 1 and the 90 percentile of daily commits. |
commits_range |
Range of the numbers of commits. |
type |
Type of the plot. |
colors |
If type is the heatmap, it controls the list of colors. |
## Not run:
spiral_git_commits("~/project/development/ComplexHeatmap")
spiral_git_commits("~/project/development/ComplexHeatmap", type = "heatmap")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.