Closed maikol-solis closed 3 months ago
Closing in favour of #247
If you want to avoid the lint, you can change the length limit in the lintr config:
library(lintr)
lint(
text = "value <- my_function(arg0 = 0, arg1 = 1, arg2 = 2, arg3 = 3, arg4 = 4, arg5 = 5, arg6 = 6, arg7 = 7)",
linters = line_length_linter(120L)
)
Created on 2024-04-20 with reprex v2.1.0
Thanks for the tip.
Hi!
I have this problem. Suppose you have this long line in your code:
Checking it with
styler
, returns the unmodified string.However,
lintr
is complaining about the length of the lineIn my opinion, Rstudio gives a better format:
What can I do to make
styler
behave like Rstudio in this case?Best.