g_issues: List GitHub issues globally, for XXXX.

View source: R/g_issues.r

g_issuesR Documentation

List GitHub issues globally, for XXXX.

Description

Options for type parameter:

  • global List all issues across all the authenticated user’s visible repositories including owned repositories, member repositories, and organization repositories

  • user List all issues across owned and member repositories for the authenticated user

  • org List all issues for a given organization for the authenticated user

Options for filter parameter:

  • assigned Issues assigned to you (default)

  • created Issues created by you

  • mentioned Issues mentioning you

  • subscribed Issues you’re subscribed to updates for

  • all All issues the authenticated user can see, regardless of participation or creation state

Usage

  g_issues(type = "global", org = NULL, filter = "all",
    state = NULL, labels = NULL, sort = NULL,
    direction = NULL, since = NULL, parse = TRUE)

Arguments

type

One of global, user, or org. If org, specify a GittHub organization name in the org parameter. See description below for more.

org

Github organization name.

filter

See options below.

state

open, closed, default: open

labels

String list of comma separated Label names. Example: bug,ui,

sort

created, updated, comments, default: created.

direction

asc or desc, default: desc.

since

Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ

parse

Whether to parse results or not. Setting parse=TRUE composes a list of nested items of similar attributes, each with 0 to many items: urls, info, user, pull_request, repo, and body

Value

Vector of names or repos for organization or user.

Examples

## Not run: 
g_auth()
options(useragent='ropensci')
g_issues()
g_issues('user')
g_issues('user', 'mentioned')
g_issues('org', 'ropensci')

## End(Not run)

ropensci/gitr documentation built on May 18, 2022, 9:57 a.m.