with_comments: Check for comments in GitHub Issues

View source: R/finding-objects.R

with_commentsR Documentation

Check for comments in GitHub Issues

Description

Function to filter issues with (or without) comments.

Usage

with_comments(x, negate = FALSE)

## S3 method for class 'IssuesTB'
with_comments(x, negate = FALSE)

Arguments

x

An object of class IssuesTB.

negate

boolean indicating if we are searching for issues WITHOUT comments. Default is FALSE.

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_comments(all_issues)
with_comments(all_issues, negate = TRUE)


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