Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
2 tests are failing which I need to investigate, but opening in case you know how to fix.
Basically, the regexp was wrong in this case which caused an infinite loop. So, I added a condition which makes the case where no match occur error early. Just need to figure out why the test is failing and also how I could simplify the test.
Also needs news.
Seems like this creates problems for more than 2 <<
Should get
c("111", "2", "33", "4")
, but we are erasing everything as soon as there is NA in the first column.Should get
c("111", "2", "33", "4")
in the first column..Related GitHub Issues and PRs
pattern
manages NAs infmt_icon() |> cols_merge()
,NA
gets repeatedly appended to the value. #1880Checklist
testthat
unit tests totests/testthat
for any new functionality.