pretty_sinew: Convert File to R directory with pretty and oxygen

View source: R/pretty_sinew.R

pretty_sinewR 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


sinew documentation built on March 31, 2022, 5:06 p.m.