get_contributors {allcontributors}R Documentation

get_contributors

Description

Get all contributors to a repository, including those who contribute to code, open issues, and contribute to discussions in issues.

Usage

get_contributors(
  org,
  repo,
  type = c("code", "issues", "discussion"),
  exclude_label = "wontfix",
  exclude_issues = NULL,
  exclude_not_planned = TRUE,
  alphabetical = FALSE,
  check_urls = TRUE,
  quiet = FALSE
)

Arguments

org

Github organisation name for repository

repo

Repository within org for which contributors are to be extracted

type

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_label

Exclude any contributions from issues with specified label (default = "wontfix"; set to NULL or empty string to include all issues).

exclude_issues

Numbers of any issues (or pull requests) to be excluded from lists of contributors.

exclude_not_planned

If TRUE (default), exclude contributions to any issues closed as "not planned".

alphabetical

If TRUE, order contributors alphabetically, otherwise order by decreasing numbers of contributions.

check_urls

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.)

quiet

If FALSE, display progress information on screen.

See Also

Other main: add_contributors()

Examples

## Not run: 
get_contributors (org = "ropenscilabs", repo = "allcontributors")

## End(Not run)

[Package allcontributors version 0.1.1 Index]