wordWrap: Word wrap using V8
Description
Word wrap a text.
Usage
wordWrap(contents = NA, ncharacters = 80)
Value
The wrapped text in a character string.
Arguments
- contents
the text to be wrapped; there are three possibilities for
this argument:
NA (default), to use the file currently opened in RStudio;
the path to a file;
or the code given as a character vector
- ncharacters
target number of characters per line