Skip to content

Include nrow() and ncol() in length_test_linter() #2933

@Bisaloo

Description

@Bisaloo

Would it make sense to also cover nrow(x == ) and ncol(x == ) in length_test_linter()`?

I was recently bitten by this and I don't think there is any more reasons this should be valid than for length(x == ).

https://github.com/search?q=%2F\bn(row|col)\([^\(\)\[\]]%2B%3D%3D\s*\d%2B\)%2F+language%3AR&type=code

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions