get_repos_urls | R Documentation |
Pulls a vector of repositories URLs (web or API): either all for
an organization or those with a given text in code blobs (with_code
parameter) or a file (with_files
parameter).
get_repos_urls(
gitstats,
type = "api",
with_code = NULL,
in_files = NULL,
with_files = NULL,
cache = TRUE,
verbose = is_verbose(gitstats),
progress = verbose
)
gitstats |
A GitStats object. |
type |
A character, choose if |
with_code |
A character vector, if defined, |
in_files |
A character vector of file names. Works when |
with_files |
A character vector, if defined, GitStats will pull repositories with specified files. |
cache |
A logical, if set to |
verbose |
A logical, |
progress |
A logical, by default set to |
A character vector.
## Not run:
my_gitstats <- create_gitstats() %>%
set_github_host(
token = Sys.getenv("GITHUB_PAT"),
orgs = c("r-world-devs", "openpharma")
) %>%
set_gitlab_host(
token = Sys.getenv("GITLAB_PAT_PUBLIC"),
orgs = "mbtests"
)
get_repos_urls(my_gitstats, with_files = c("DESCRIPTION", "LICENSE"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.