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
Currently with the use of |>, code does not display in tidy style. A reprex is shown below, where using |> causes the third line of displayed code to be
I can't immediately think of an easy fix for this. Maybe forcing the app author to use a stand-in for the native pipe, like %|>%, that we then clean up to |> during rendering?
Or having you write the code using magrittr pipes but having an option to replace %>% with |> during code generation... but that's a little dangerous because you could end up with code that works at runtime but not if you use the generated code due to differences between the two pipes.
Currently with the use of
|>
, code does not display in tidy style. A reprex is shown below, where using|>
causes the third line of displayed code to bedownloads_rolling <- mutate(downloads, count = zoo::rollapply(count, 7, mean, fill = "extend"))
but using
%>%
instead will give this:Is there any way to use
|>
instead and get this?Reprex:
The text was updated successfully, but these errors were encountered: