post_todo: Post to-do list (issues) to GitHub repository

Description Usage Arguments Details Value See Also Examples

View source: R/plan-todo.R

Description

Post custom to-do lists (i.e. issues) based on yaml read in by read_todo. Please see the "Building Custom Plans" vignette for details.

Usage

1
post_todo(ref, todo, distinct = TRUE)

Arguments

ref

Repository reference (list) created by create_repo_ref()

todo

To-do R list structure as read with read_todo()

distinct

Logical value to denote whether issues with the same title as a current open issue should be allowed. Passed to get_issues()

Details

Currently has know bug in that cannot be used to introduce new labels.

Value

Number (identifier) of posted issue

See Also

Other plans and todos: post_plan, read_plan, read_todo, report_plan, report_todo, template_yaml

Examples

1
2
3
4
5
6
7
8
## Not run: 
# This example uses example file included in pkg
# You should be able to run example as-is after creating your own repo reference
file_path <- system.file("extdata", "todo.yml", package = "projmgr", mustWork = TRUE)
my_todo <- read_todo(file_path)
post_todo(ref, my_todo)

## End(Not run)

projmgr documentation built on Aug. 5, 2019, 5:15 p.m.

Related to post_todo in projmgr...