Skip to content

False positive open_curly_linter / pipe_continuation_linter in magrittr pipelines #1028

@AshesITR

Description

@AshesITR

There is no way to make this piece of code lint-free without rewriting:

letters %>%
{ # - open_curly_linter
  tibble(
    lo = .,
    hi = toupper(.)
  )
} %>%
  mutate(row_id = row_number())

letters %>% { # - pipe_continuation_linter
  tibble(
    lo = .,
    hi = toupper(.)
  )
} %>%
  mutate(row_id = row_number())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions