Skip to content

New list_comparison_linter - #2293

Merged
AshesITR merged 5 commits into
mainfrom
list_comparison
Nov 18, 2023
Merged

AshesITR merged 5 commits into
mainfrom
list_comparison

Conversation

@MichaelChirico

Copy link
Copy Markdown
Collaborator

Part of #884

No hits on {lintr}

@codecov-commenter

codecov-commenter commented Nov 16, 2023 •

Copy link
Copy Markdown

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

AshesITR commented Nov 16, 2023 •

Copy link
Copy Markdown
Collaborator

Add mapply()?

Comment thread R/list_comparison_linter.R Resolved


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

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.

Add .mapply here

@AshesITR AshesITR left a comment

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.

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
Copy Markdown
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
@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