Type: | Package |
Title: | Convert Nested Functions to Pipes |
Version: | 0.1.2 |
Author: | Houston R Users, Neeraj Tandon, Ed Goodwin, Ju Yeong Kim, Sahil Seth |
Maintainer: | Sahil Seth <me@sahilseth.com> |
Description: | To take nested function calls and convert them to a more readable form using pipes from package 'magrittr'. |
Depends: | R (≥ 3.0.0) |
Imports: | magrittr, miniUI (≥ 0.1.1), rstudioapi (≥ 0.4), shiny (≥ 0.13), stringr |
Suggests: | testthat |
License: | MIT + file LICENSE |
LazyData: | TRUE |
RoxygenNote: | 5.0.1 |
NeedsCompilation: | no |
Packaged: | 2016-09-14 18:20:41 UTC; sahilseth |
Repository: | CRAN |
Date/Publication: | 2016-09-14 21:44:10 |
make_list
Description
make_list
Usage
make_list(string)
Arguments
string |
a string to be converted into a list |
make_output
Description
make_output
Usage
make_output(funclist)
Arguments
funclist |
a list of functions |
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)
Splits list into a data.frame
Description
Splits list into a data.frame
Usage
splitlisttodf(listtosplit)
Arguments
listtosplit |
a list to be converted into a data.frame |
Splits string into a list
Description
Splits string into a list
Usage
splitmultistrtolist(stringtosplit)
Arguments
stringtosplit |
a string to be split |