One function to run pretty_namespace, untangle and makeOxyFile

pretty_sinew(con = NULL, text = NULL, dir.out = NULL, keep.body = TRUE)

Arguments

con

character, path to file or directory that contains script, Default: NULL

text

character, vector that contains script, Default: NULL

dir.out

character, path to save new R files, Default: NULL

keep.body

boolean, if TRUE all non-functions will be saved to body.R in the parent directory of dir.out, Default: TRUE

Value

Nothing, side effects is to create files

Details

If dir.out is set to NULL all outputs are redirected into file.path(tempdir(),'sinew')

Author

Jonathan Sidi