View source: R/get_pull_requests.R
| get_pull_requests | R Documentation |
List all pull requests from all repositories for an organization or a vector of repositories.
get_pull_requests(
gitstats,
since = NULL,
until = Sys.Date(),
state = NULL,
cache = TRUE,
verbose = FALSE,
progress = TRUE
)
gitstats |
A |
since |
A starting date. |
until |
An end date. |
state |
An optional character, by default |
cache |
A logical, if set to |
verbose |
A logical, |
progress |
A logical, by default set to |
A table of tibble and gitstats_pull_requests 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_pull_requests(my_gitstats, since = "2018-01-01", state = "open")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.