Skip to content

Create tabs of View() output for each chained pipe

License

Notifications You must be signed in to change notification settings

gwd666/ViewPipeSteps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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.

printPipeSteps

Future Work

  • Support groups and skimr::skim

About

Create tabs of View() output for each chained pipe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%