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

View source: R/plan-todo.R

post_todoR Documentation

Post to-do list (issues) to GitHub repository

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

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

## 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 May 29, 2024, 5 a.m.

Related to post_todo in projmgr...