taskboard_helpers {projmgr}R Documentation

Tag "in-progress" items for taskboard visualization

Description

The viz_taskboard() function creates a three-column layout of entities that are not started, in progress, or done. Objects are classified as done when they have a state of "closed". Object are classified as "To-Do" when they are neither "Closed" or "In Progress". However, what constistutes "In Progress" is user and project dependent. Thus, these functions let users specify what they mean.

Usage

is_labeled()

is_labeled_with(label, any = TRUE)

is_assigned()

is_assigned_to(login, any = TRUE)

is_in_a_milestone()

is_in_milestone(number)

is_created_before(created_date)

is_part_closed()

is_due()

is_due_before(due_date)

has_n_commits(events, n = 1)

Arguments

label

Label name(s) as character vector

any

When the supplied vector has more than one value, should the result return TRUE if any of those values are present in the dataset (logical OR)

login

User login(s) as character vector

number

Milestone number

created_date

Date as character in "YYYY-MM-DD" format

due_date

Date as character in "YYYY-MM-DD" format

events

Dataframe containing events for each issue in data

n

Minimum of commits required to be considered in progress

Details

General options:

Issue-specific options:

Milestone-specific options:

Value

Function to be passed as in_progress_when argument in viz_taskboard()

Examples

## Not run: 
viz_taskboard(issues, in_progress_when = is_labeled_with('in-progress'))
viz_taskboard(milestones, in_progress_when = is_created_before('2018-12-31'))
viz_taskboard(issues, in_progress_when = is_in_milestone())
report_taskboard(issues, in_progress_when = is_labeled_with('in-progress'))
report_taskboard(milestones, in_progress_when = is_created_before('2018-12-31'))
report_taskboard(issues, in_progress_when = is_in_milestone())

## End(Not run)

[Package projmgr version 0.1.1 Index]