formatR 1.10
-
Support the new pipe operator
|>in R 4.1.0. -
The
width.cutoffargument works more accurately when comments are indented (thanks, @iqis, #92). Previously,width.cutoffdid not take the indentation or the number of#characters in a comment when wrapping it, which may lead to wrapped comment lines that are wider thanwidth.cutoff.