Get all contributors to a repository, including those who contribute to code, open issues, and contribute to discussions in issues.
get_contributors(
org,
repo,
type = c("code", "issues", "discussion"),
exclude_label = "wontfix",
exclude_issues = NULL,
alphabetical = FALSE,
check_urls = TRUE,
quiet = FALSE
)
Github organisation name for repository
Repository within org
for which contributors are to be
extracted
Type of contributions to include: 'code' for direct code contributions (including documentation), 'issues' to recognise contributors who open issues, and 'discussion' for contributing to discussions within issues. Discussion contributions are only from individuals not present in either 'issues' or 'code'; and 'issues' contributions are only from individuals not present in 'code'.
Exclude any contributions from issues with specified
label (default = "wontfix"; set to NULL
or empty string to include all
issues).
Numbers of any issues (or pull requests) to be excluded from lists of contributors.
If TRUE
, order contributors alphabetically, otherwise
order by decreasing numbers of contributions.
If TRUE
(default), GitHub URLs of all contributors are
checked to ensure they are still valid. (This is generally the most
time-consuming stage, so set to 'FALSE' if you are sure all URLs are valid.)
If FALSE
, display progress information on screen.
Other main:
add_contributors()
if (FALSE) {
get_contributors (org = "ropenscilabs", repo = "allcontributors")
}