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",
    dataset_dir = system.file("data_issues", package = "IssueTrackeR"),
    dataset_name = NULL
)
my_issues <- get_issues(selector = issues_selector)
#> The issues will be read from /home/runner/work/_temp/Library/IssueTrackeR/data_issues/list_issues.yaml.

IssueTrackeR:::get_still_open(my_issues, lag = 1L)
#>      Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
#> 2023                   0   0   0   0   0   0   0   0
#> 2024   0   0   0   0   0   0   0   0   0   3   8   9
#> 2025   9   9  11  14  19  25  27  31  38  42  47  48
#> 2026  49  51  54  60  65  69  75  75  77  87