pull_github {contribution}R Documentation

Pull contributions from GitHub

Description

Pull contributions from GitHub

Usage

pull_github(
  data = NULL,
  repo = NULL,
  owner = NULL,
  username = NULL,
  role = NULL,
  report_lines = FALSE,
  type = c("all", "add", "del"),
  .token = NULL
)

Arguments

data

a data.frame contains columns 'repo', 'owner', 'username' and 'role'. You can also pass them one by one to the following parameters.

repo

repository name.

owner

repository owner.

username

username to pull.

role

user role in this repository.

report_lines

if TRUE, report contributed lines.

type

'all' for the sum of number of additions and deletions, 'add' for the number of additions and 'del' for the number of deletions.

.token

Authentication token. See pull_github_limit().

Value

a 'data.frame“

Examples

pull_github(
  repo = "UCSCXenaTools", owner = "ShixiangWang",
  username = "ShixiangWang", role = "developer"
)

[Package contribution version 0.2.2 Index]