g_issues_create: Create a GitHub issue.

View source: R/g_issues_create.r

g_issues_createR Documentation

Create a GitHub issue.

Description

Create a GitHub issue.

Usage

  g_issues_create(owner, repo, title = NULL, body = NULL,
    assignee = NULL, milestone = NULL, labels = NULL,
    parse = TRUE)

Arguments

title

Required string

body

Optional string

assignee

Optional string - Login for the user that this issue should be assigned to. NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise.

milestone

Optional number - Milestone to associate this issue with. NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise.

labels

Optional array of strings - Labels to associate with this issue. NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise.

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_create('schamberlain','sofa',title='testing from gitr',body='some stuff here')

## End(Not run)

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