Skip to content

Exception for substitute() by default in implicit_assignment_linter()? #2266

@MichaelChirico

Description

@MichaelChirico
substitute(key <- value, list(key = as.name("x"), value = 1:10))
# x <- 1:10

I think not linting here makes sense & is similar to the exceptions for quote() et al.

Metadata

Metadata

Assignees

No one assigned

    Labels

    false-positivecode that shouldn't lint, but does

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions