Learn R Programming

IssueTrackeR (version 1.3.1)

with_comments: Check for comments in GitHub Issues

Description

Function to filter issues with (or without) comments.

Usage

with_comments(x, negate = FALSE)

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

Value

An object IssuesTB with issues that satisfy the condition.

Arguments

x

An object of class IssuesTB.

negate

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

Examples

Run this code
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)

Run the code above in your browser using DataLab