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
So when an error occurs, we can unroll the pipe properly in the backtrace. I'm going to hardcode logic based on 1.5 internals in rlang for the time being so we should coordinate before the next release of magrittr.
For illustration, let's say that T() below throws and a backtrace is recorded:
F(NA) %>% F() %>% T() %>% F() %>% F()
We want to unroll the pipe but not the last two steps as they were not evaluated yet:
So when an error occurs, we can unroll the pipe properly in the backtrace. I'm going to hardcode logic based on 1.5 internals in rlang for the time being so we should coordinate before the next release of magrittr.
For illustration, let's say that
T()
below throws and a backtrace is recorded:We want to unroll the pipe but not the last two steps as they were not evaluated yet:
Useful pieces of information:
Probably best to record it in the very first frame, the one whose call is
x %>% y %>% z
.The text was updated successfully, but these errors were encountered: