After a few hours’ work, I modified the function tidy.source()
in the formatR package so that it can preserve complete comment lines. See formatR::tidy.source
and https://github.com/yihui/formatR/wiki for details.
After a few hours’ work, I modified the function tidy.source()
in the formatR package so that it can preserve complete comment lines. See formatR::tidy.source
and https://github.com/yihui/formatR/wiki for details.