Visualize git commits

spiral_git_commits(repo = ".", show_legend = TRUE,
    start = NULL, end = Sys.Date(),
    pt_range = c(2, 16), commits_range = c(2, 20),
    type = c("points", "heatmap"),
    colors = c("#3288BD", "#99D594", "#E6F598", "#FFFFBF", "#FEE08B", "#FC8D59", "#D53E4F"))

Arguments

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 Date object.

end

End date. By default it is the current date. The value can be a string such as "2022-01-01" or a Date object.

pt_range

Range of the point sizes.

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.

Examples

# There is no example
NULL
#> NULL