pipefittr {pipefittr} | R Documentation |
Convert nested calls to magrittr's pipes.
Description
To take nested function calls and convert them to a more readable form using magrittr's pipes.
Usage
pipefittr(string, pretty = F)
Arguments
string |
a string, to be converted into |
pretty |
create a multiline output, which is prettier. Try this. |
Examples
teststring = "jump_on(bop_on( scoop_up( hop_through(foo_foo, forest), field_mouse ), head))"
pipefittr(teststring, pretty = TRUE)
[Package pipefittr version 0.1.2 Index]