Learn R Programming

IssueTrackeR (version 1.3.1)

get_nbr_comments: Number of comments

Description

Number of comments of an Issue or set of issues

Usage

get_nbr_comments(x)

# S3 method for IssueTB get_nbr_comments(x)

# S3 method for IssuesTB get_nbr_comments(x)

Value

An integer or an integer vector with the number of comments of the different issues in x.

Arguments

x

An object of class IssueTB or IssuesTB.

Examples

Run this code
all_issues <- get_issues(
    source = "local",
    dataset_dir = system.file("data_issues", package = "IssueTrackeR"),
    dataset_name = "open_issues.yaml"
)
get_nbr_comments(all_issues)
get_nbr_comments(all_issues[1L, ])

Run the code above in your browser using DataLab