[This article was first published on R – Win-Vector Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
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.