Count Still Open Issues Over Time

get_still_open(x, ...)

# S3 method for class 'IssuesTB'
get_still_open(x, lag = 0L, ...)

# Default S3 method
get_still_open(...)

Arguments

x

An object of class IssuesTB.

...

Currently not used.

lag

Numeric. Number of years to look back for "still open" issues. Default is 0.

Value

ts object with still open issues counts per month.

Examples

issues_selector <- init_selector(
    source = "Local",
    file = file.path(
        system.file("data_issues", package = "IssueTrackeR"),
        "list_issues.yaml"
    )
)
all_issues <- get_issues(selector = issues_selector)
#> The issues will be read from /home/runner/work/_temp/Library/IssueTrackeR/data_issues/list_issues.yaml.
all_issues <- IssueTrackeR:::get_still_open(all_issues, lag = 1L)