yihui / formatR

Format R Code Automatically
https://yihui.org/formatr/
255 stars 52 forks source link

New feature request: do not merge comment lines #73

Closed YongLiedu closed 5 years ago

YongLiedu commented 7 years ago

Sometimes it would be better to ignore/don't merge comment lines.

avoid change something like this

# this is a sample. # bash command and parameters here # results

to

# this is a sample. bash command # and parameters here results

yihui commented 7 years ago

Sounds like a reasonable feature request, but I don't have time to implement it. All I can say right now is that pull requests are welcome!

Also note roxygen comments #' will never be rewrapped.

yihui commented 5 years ago

Implemented via 4e31ffb. Thanks!