One function to run pretty_namespace, untangle and makeOxyFile
pretty_sinew(con = NULL, text = NULL, dir.out = NULL, keep.body = TRUE)
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 |
Nothing, side effects is to create files
If dir.out is set to NULL all outputs are redirected into file.path(tempdir(),'sinew')