Skip to content

pipes (%>%) in single lines get marked by lintr #366

Closed
@GregorDeCillia

Description

@GregorDeCillia

I just installed this package and faced an issue with single line pipes. I have a function that basically looks like this.

myFun <- function() {
  a %>% b() %>% c()
}

lintr::lint_package() adds a style-marker here because of missing newlines. Is this behavior expected? Here is an actual repex: r-webutils/suitr@4f6f97e

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions