yihui / formatR

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

Compile notebook chunks #52

Closed caleblareau closed 8 years ago

caleblareau commented 8 years ago

In the comment chunks that RStudio interprets when compiling a notebook, running the reformat code makes the chunk options not function correctly.

e.g.

+ fig.width=16, fig.height=5, message = FALSE, warning = FALSE, echo=FALSE

goes to

+ fig.width=16, fig.height=5, message = FALSE, warning = FALSE,

echo=FALSE

yihui commented 8 years ago

Fixed. Thanks!