Closed jwokaty closed 10 months ago
To investigate the use of styler for automating some of the formatting tasks in the conversion from Sweave to R Markdown, you can follow these steps:
styler
package in your R environment using the following command:
install.packages("styler")
library(styler)
Advantages:
Disadvantages
Summary: styler is used to update the formatting of code chunk only but we in our project needs additional formatting like textwidth = 80, blank line between start / end of code blocks and surrounding content, etc. Which is not actually handled by styler.
@jwokaty close #76
Investigate possible use of styler. Install and try on a conversion to see if it will reduce of some the manual formatting tasks to achieve sweave2rmd style, such as textwidth = 80, blank line between start / end of code blocks and surrounding content, etc.