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

lint lapply(x, length) and map(x, length) --> lengths(x) #1570

Open
MichaelChirico opened this issue Sep 30, 2022 · 0 comments
Open

lint lapply(x, length) and map(x, length) --> lengths(x) #1570

MichaelChirico opened this issue Sep 30, 2022 · 0 comments
Labels
feature a feature request or enhancement

Comments

@MichaelChirico
Copy link
Collaborator

Follow-up to #1568.

Should also suggest as.list(lengths(x)) if list is really the desired output type (not really sure such a use case exists though)

@MichaelChirico MichaelChirico added the false-negative code that should lint, but doesn't label Sep 30, 2022
@MichaelChirico MichaelChirico added feature a feature request or enhancement and removed false-negative code that should lint, but doesn't labels Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant