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