Skip to content

Add missing spaces around "and" in glue_collapse() - #1946

Merged
MichaelChirico merged 6 commits into
r-lib:mainfrom
Bisaloo:spaces-glue_collapse
Apr 3, 2023
Merged

MichaelChirico merged 6 commits into
r-lib:mainfrom
Bisaloo:spaces-glue_collapse

Conversation

@Bisaloo

@Bisaloo Bisaloo commented Apr 3, 2023

Copy link
Copy Markdown
Collaborator

Example error message at the moment:

Error in linters_with_tags(tags = NULL) :
Linters ‘implicit_assignment_linter’, ‘matrix_apply_linter’, ‘quotes_linter’and‘unnecessary_concatenation_linter’ advertised by available_linters() but not exported by package lintr.

@MichaelChirico

Copy link
Copy Markdown
Collaborator

code LGTM!

needs a news item (since this is present on CRAN) and a regression test would be good too.

Thanks!

@Bisaloo

Bisaloo commented Apr 3, 2023

Copy link
Copy Markdown
Collaborator Author

Lints are unrelated to my changes. Should I fix them here or open another PR, wait for it to be merged and rebase?

Comment thread tests/testthat/test-with.R Outdated
mockery::stub(
linters_with_tags,
"available_linters",
data.frame(linter = c("fake_linter", "super_fake_linter"), package = "lintr", tags = "test")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this lint is new

@codecov-commenter

codecov-commenter commented Apr 3, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #1946 (4534eb0) into main (2997038) will increase coverage by 0.08%.
The diff coverage is 100.00%.

❗ Current head 4534eb0 differs from pull request most recent head e73fa26. Consider uploading reports for the commit e73fa26 to get more accurate results

@@            Coverage Diff             @@
##             main    #1946      +/-   ##
==========================================
+ Coverage   98.86%   98.94%   +0.08%     
==========================================
  Files         113      113              
  Lines        4939     4939              
==========================================
+ Hits         4883     4887       +4     
+ Misses         56       52       -4     
Impacted Files Coverage Δ
R/with.R 98.52% <100.00%> (+5.88%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@IndrajeetPatil

Copy link
Copy Markdown
Contributor

You can ignore them in this PR.

#1879 handles this issue.

Comment thread NEWS.md Resolved
Comment thread tests/testthat/test-with.R Resolved
@MichaelChirico
MichaelChirico merged commit ddc1b71 into r-lib:main Apr 3, 2023
@Bisaloo
Bisaloo deleted the spaces-glue_collapse branch April 3, 2023 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants