Learn R Programming

IssueTrackeR (version 1.3.1)

author_last_comment: Name of last commentator

Description

Retrieve the name of the last commentator

Usage

author_last_comment(x)

# S3 method for IssueTB author_last_comment(x)

# S3 method for IssuesTB author_last_comment(x)

Value

A string with the name of the last person which leaves a comment. If there is no comments, it returns an empty string.

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"
)
author_last_comment(all_issues)
author_last_comment(all_issues[1L, ])

Run the code above in your browser using DataLab