You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<text>:2:46: style: [pipe_continuation_linter] `|>` should always have a space before it and a new line after it, unless the full pipeline fits on one line.
sapply(function(x) x |> runif() |> mean()) |>
^~
I think that the linter may consider the expression like a single pipe, instead of two nested pipes.
I'm using lintr 3.1.2.
The text was updated successfully, but these errors were encountered:
I think linting he inner pipeline could be made optional. Personally I prefer keeping the lint because regardless of syntax, discerning the multiple pipe characters in one line is hard on my eyes.
When a piece of code has two pipes, one nested inside another like in example code below:
the linter produces a false positive:
I think that the linter may consider the expression like a single pipe, instead of two nested pipes.
I'm using lintr 3.1.2.
The text was updated successfully, but these errors were encountered: