g_comments_create: Create a comment on an issue.

View source: R/g_comments_create.r

g_comments_createR Documentation

Create a comment on an issue.

Description

Create a comment on an issue.

Usage

  g_comments_create(owner, repo, issue = NULL,
    comment = NULL, ...)

Arguments

owner

Name of owner of repository.

repo

Repository name, quoted.

issue

Issue number, is specific to a repo.

comment

Comment text.

...

Futher arguments passed on to link{GET}.

Value

Data for the comment created.

See Also

link{g_comments}, link{g_comments_edit}, link{g_comments_delete}

Examples

## Not run: 
g_auth()
options(useragent='ropensci')
g_comments_create(owner='schamberlain', repo='foobar', issue=5, comment='Nice code, its way to slow, start over')

## End(Not run)

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