with_labels: Check for labels in GitHub Issues

View source: R/finding-objects.R

with_labelsR Documentation

Check for labels in GitHub Issues

Description

Generic function to filter issues with labels

Usage

with_labels(x, ...)

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

Arguments

x

An object of class IssuesTB.

...

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

Value

An object IssuesTB with issues that satisfy the condition.

Examples

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")


IssueTrackeR documentation built on June 21, 2026, 1:07 a.m.