Skip to content

[R] Some lints in the R code base #43357

@etiennebacher

Description

@etiennebacher

Describe the bug, including details regarding any error messages, version, and platform.

The codebase in R uses some inefficient patterns (e.g. any(is.na()) instead of anyNA()) or patterns for which an easier-to-read alternative exists (e.g. expect_equal(names(x), c("a", "b")) instead of expect_named(x, c("a", "b"))).

Fixing those lints doesn't have any visible effect for the user but makes the code more maintainable.

Component(s)

R

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions