Format R code

formatRText(text, width.cutoff = 100)

Arguments

text

A character vector with the R code to be formatted.

width.cutoff

Number of characters that each line should be limited to.

Value

A character vector with formatted R code.

Details

DEPRECRATED. Please use styler::style_text instead.