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
The following code was styled using the latest development version of styler:
a_very_long_function_name<-function(parameter_name="a very long default value") {
NULL
}
a_very_long_function_name(
parameter_name="a very long default value"
)
What confuses me here is that in the function call, "a very long default value" is indented by 1 more level than parameter_name =, but in the function definition this is not the case.
I think there is no rule in the tidyverse style guide that governs this behaviour, so in my opinion it would be reasonable to apply the same indention strategy in both cases.
Activity
lorenzwalthert commentedon Feb 20, 2018
Thanks @martin-mfg, this is indeed unexpected. I think I know where it stems from and I will look into it as soon as possible.
lorenzwalthert commentedon Feb 20, 2018
Blocked by #352.
[-]inconsistent indention for EQ_SUB[/-][+]Inconsistent indention for EQ_SUB[/+]EQ_FORMALS can cause indention in eq_sub()
lorenzwalthert commentedon Feb 28, 2018
Blocked by #357.lorenzwalthert commentedon Mar 1, 2018
Closed with #353.