Learn R Programming

IssueTrackeR (version 1.3.0)

with_labels: Check for labels in GitHub Issues

Description

Generic function to search for issues with labels

Usage

with_labels(x, ...)

# S3 method for IssuesTB with_labels(x, ...)

Value

An object IssuesTB with issues that satisfy the condition.

Arguments

x

An object of class IssuesTB.

...

Additional arguments passed to grepl(), such as pattern and ignore.case.

Examples

Run this code
all_issues <- get_issues(
    source = "local",
    dataset_dir = system.file("data_issues", package = "IssueTrackeR"),
    dataset_name = "open_issues.yaml"
)
with_labels(all_issues, pattern = "Bug")

Run the code above in your browser using DataLab