push_gh_milestones: Push milestones to GH

Description Usage Arguments Details Value

Description

Push milestones to GH

Usage

1
2
3
4
5
push_gh_milestones(object, ...)

## S3 method for class 'data.frame'
push_gh_milestones(object, owner, repo, ...,
  verbose = TRUE, sleep = 1)

Arguments

object

R object, see Details for methods

...

other arguments passed to create.milestone, ctx in particular

owner, repo

repository and its owner, passed to create.milestone

verbose

logical, provide more output

sleep

numeric, passed to Sys.sleep, pause between requests

Details

Method for data frames make requests to GH API. The milestones are created with data from columns of object. It is assumed, and checked, if the object has columns gh_milestone_* where * are: title, description, state, due_on.

Value

The method for data frames return object with the following columns added:

push_response

list with responses returned by create.milestone

push_ok

logical, whether the request was succesfully processed

gh_milestone_number

numerical, milestone number as assigned by GH


mbojan/trac2gh documentation built on May 22, 2019, 12:56 p.m.