get_repos_with_R_packages | R Documentation |
Wrapper over searching repositories by code blobs related to
loading package (library(package)
and require(package)
in all files) or
using it as a dependency (package
in DESCRIPTION
and NAMESPACE
files).
get_repos_with_R_packages(
gitstats,
packages,
only_loading = FALSE,
split_output = FALSE,
cache = TRUE,
verbose = is_verbose(gitstats)
)
gitstats |
A GitStats object. |
packages |
A character vector, names of R packages to look for. |
only_loading |
A boolean, if |
split_output |
Optional, a boolean. If |
cache |
A logical, if set to |
verbose |
A logical, |
A tibble
or list
of tibbles
depending on split_output
parameter.
## Not run:
my_gitstats <- create_gitstats() %>%
set_github_host(
token = Sys.getenv("GITHUB_PAT"),
orgs = c("r-world-devs", "openpharma")
)
get_repos_with_R_packages(
gitstats = my_gitstats,
packages = c("purrr", "shiny"),
split_output = TRUE
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.