Skip to content
Create tabs of View() output for each chained pipe
R
Branch: master
Clone or download
Latest commit 0772271 Oct 1, 2019

README.md

ViewPipeSteps

The goal of ViewPipeSteps is to help hackers debug pipe chains in a slightly more elegant fashion. Print/View debugging isn't sexy, but instead of manually inserting %>% View() after each step, spice it up a bit by highlighting the entire chain and calling the viewPipeChain addin:

Alt Text

Alternatively, it can also serve as a more lively demonstration of the tidyverse. A teaching tool, perhaps.

Thanks to @batpigandme for the the gif!

Installation

devtools::install_github("daranzolin/ViewPipeSteps")

Supported Patterns

Thanks to the work of Joachim Gassen, ViewPipeSteps now supports most piping habits and patterns. Check tools/test_cases.R for more elaborate examples.

Print to the console

Prefer to see the outputs in the console? Call the "Print Chain Pipe Steps" addin.

Alt Text

Future Work

  • Support groups and skimr::skim
You can’t perform that action at this time.