Generic function to filter issues with a given text pattern in the title, body, or comments of a GitHub Issue object or a collection of Issues.
with_text(x, ...)
# S3 method for class 'IssuesTB'
with_text(x, ..., in_title = TRUE, in_body = TRUE, in_comments = TRUE)An object of class IssuesTB.
Additional arguments passed to grepl(), such as pattern
and ignore.case.
Boolean. Does the function search for text in the title?
(Default TRUE)
Boolean. Does the function search for text in the body?
(Default TRUE)
Boolean. Does the function search for text in the
comments? (Default TRUE)
An object IssuesTB with issues that satisfy the condition.
all_issues <- get_issues(
source = "local",
dataset_dir = system.file("data_issues", package = "IssueTrackeR"),
dataset_name = "open_issues.yaml"
)
#> Looking into open_issues.yaml ...
#> The issues will be read from /home/runner/work/_temp/Library/IssueTrackeR/data_issues/open_issues.yaml.
with_text(all_issues, pattern = "Excel")
#> There are 6 issues.
#>
#>
#> ── Issue jdemetra/jdplus-main#653 ──
#>
#> Title: Excel SA-Item names contain `\n` to separate sheet series
#> Text:
#> When we create a new SA-Item from an Excel file, the name of the series is automatically `sheet name\nseries name`.
#>
#> On the GUI, it appears with an arrow ▶:
#>
#> 
#>
#> But on the XML file:
#>
#> 
#> ![Screenshot 2024-06-14 133329](https://github.com/jdemetra/jdplus-main/assets/877837
#> ...
#>
#>
#> ── Issue jdemetra/jdplus-main#112 ──
#>
#> Title: JWSACruncher and parameters `fullseriesname` and `refreshall`
#> Text:
#> I tried the following parameters files an a workspace with data created by an Excel file and it has no effect. Are the parameters `fullseriesname` and `refreshall` suppose to work in the JWSACruncher? Am I doing something wrong?
#> ```
#> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
#> <wsaConfig bundle="10000" cs
#> ...
#>