Some of the big issues in trying to debug magrittr/dplyr pipelines include:
- Pipelines being large expressions that are hard to line-step into.
- Visibility of intermediate results.
- Localizing operations (in time and code position) in the presence of lazy evaluation semantics.
In this screencast we demonstrate how to mitigate the impact of all of these issues and quickly and effectively debug pipelined code.
The example code is here.
Data Scientist and trainer at Win Vector LLC. One of the authors of Practical Data Science with R.