Menu Home

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.

Categories: Exciting Techniques Pragmatic Data Science Programming Statistics Tutorials

Tagged as:

jmount

Data Scientist and trainer at Win Vector LLC. One of the authors of Practical Data Science with R.

%d bloggers like this: