get_commits | R Documentation |
List all commits from all repositories for an organization or a vector of repositories.
get_commits(
gitstats,
since = NULL,
until = Sys.Date() + lubridate::days(1),
cache = TRUE,
verbose = is_verbose(gitstats),
progress = verbose
)
gitstats |
A |
since |
A starting date. |
until |
An end date. |
cache |
A logical, if set to |
verbose |
A logical, |
progress |
A logical, by default set to |
A table of tibble
and gitstats_commits
classes.
## Not run:
my_gitstats <- create_gitstats() %>%
set_github_host(
token = Sys.getenv("GITHUB_PAT"),
repos = c("openpharma/DataFakeR", "openpharma/visR")
) %>%
set_gitlab_host(
token = Sys.getenv("GITLAB_PAT_PUBLIC"),
orgs = "mbtests"
)
get_commits(my_gitstats, since = "2018-01-01")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.