pretty_sinew {sinew}R Documentation

Convert File to R directory with pretty and oxygen

Description

One function to run pretty_namespace, untangle and makeOxyFile

Usage

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

Details

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

Value

Nothing, side effects is to create files

Author(s)

Jonathan Sidi


[Package sinew version 0.4.0 Index]