Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New list_comparison_linter #2293

Merged
merged 5 commits into from
Nov 18, 2023
Merged

New list_comparison_linter #2293

merged 5 commits into from
Nov 18, 2023

Conversation

MichaelChirico
Copy link
Collaborator

Part of #884

No hits on {lintr}

@codecov-commenter
Copy link

codecov-commenter commented Nov 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f61967b) 99.44% compared to head (679ac97) 99.45%.

❗ Current head 679ac97 differs from pull request most recent head 44c82d9. Consider uploading reports for the commit 44c82d9 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2293   +/-   ##
=======================================
  Coverage   99.44%   99.45%           
=======================================
  Files         115      116    +1     
  Lines        5258     5286   +28     
=======================================
+ Hits         5229     5257   +28     
  Misses         29       29           

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

@AshesITR
Copy link
Collaborator

AshesITR commented Nov 16, 2023

Add mapply()?



cases <- expand.grid(
list_mapper = c("lapply", "map", "Map"),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add .mapply here

Copy link
Collaborator

@AshesITR AshesITR left a comment

Choose a reason for hiding this comment

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

Metadata and vectorization tests missing; the rest LGTM now 😊

linter <- list_comparison_linter()
lint_msg <- rex::rex("a list(), is being coerced for comparison")


Copy link
Collaborator

Choose a reason for hiding this comment

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

unnecessary newline

@AshesITR AshesITR merged commit 7970260 into main Nov 18, 2023
20 checks passed
@MichaelChirico MichaelChirico deleted the list_comparison branch December 6, 2023 05:16
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.

3 participants