Posted on Categories Exciting Techniques, Pragmatic Data Science, Programming, Statistics, TutorialsTags , , , ,

Step-Debugging magrittr/dplyr Pipelines in R with wrapr and replyr

In this screencast we demonstrate how to easily and effectively step-debug magrittr/dplyr pipelines in R using wrapr and replyr.



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.