Last chance! 50% off unlimited learning
Sale ends in
List all issues from all repositories for an organization or a vector of repositories.
get_issues(
gitstats,
since = NULL,
until = Sys.Date() + lubridate::days(1),
state = NULL,
cache = TRUE,
verbose = is_verbose(gitstats),
progress = verbose
)
A table of tibble
and gitstats_issues
classes.
A GitStats
object.
A starting date.
An end date.
An optional character, by default NULL
, may be set to "open"
or "closed" if user wants one type of issues.
A logical, if set to TRUE
GitStats will retrieve the last
result from its storage.
A logical, TRUE
by default. If FALSE
messages and printing
output is switched off.
A logical, by default set to verbose
value. If FALSE
no
cli
progress bar will be displayed.
if (FALSE) {
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_issues(my_gitstats, since = "2018-01-01", state = "open")
}
Run the code above in your browser using DataLab