Skip to content

New consecutive_mutate_linter - #2305

Merged
AshesITR merged 15 commits into
mainfrom
consecutive_mutate
Nov 21, 2023
Merged

AshesITR merged 15 commits into
mainfrom
consecutive_mutate

Conversation

@MichaelChirico

Copy link
Copy Markdown
Collaborator

Part of #884

No hits on {lintr}

@codecov-commenter

codecov-commenter commented Nov 17, 2023 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0815b2a) 99.39% compared to head (01193ab) 99.39%.

❗ Current head 01193ab differs from pull request most recent head 3bbf6a2. Consider uploading reports for the commit 3bbf6a2 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2305   +/-   ##
=======================================
  Coverage   99.39%   99.39%           
=======================================
  Files         121      122    +1     
  Lines        5461     5495   +34     
=======================================
+ Hits         5428     5462   +34     
  Misses         33       33           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread R/consecutive_mutate_linter.R Resolved
Comment thread R/consecutive_mutate_linter.R Resolved
Comment thread inst/lintr/linters.csv Resolved
Comment thread R/consecutive_mutate_linter.R Resolved
Comment thread R/consecutive_mutate_linter.R Resolved
Comment thread DESCRIPTION Resolved
Comment thread R/consecutive_mutate_linter.R Outdated
@@ -0,0 +1,101 @@
#' Force consecutive calls to mutate() into just one when possible

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.

Wording could be more consistent to other linters

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

PTAL

@AshesITR
AshesITR merged commit a99e7d4 into main Nov 21, 2023
@AshesITR
AshesITR deleted the consecutive_mutate branch November 21, 2023 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants