Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mwip/beautifyR

RStudio addin for formatting Rmarkdown tables
https://github.com/mwip/beautifyR

alignment comments markdown markdown-table r rmarkdown rstudio-addin

Last synced: about 2 months ago
JSON representation

RStudio addin for formatting Rmarkdown tables

Awesome Lists containing this project

README

        

# beautifyR
## RStudio addin for formatting Rmarkdown tables and R multi-line comments

---

beautifyR is a RStudio addin that helps you formatting Markdown tables. It
aligns the columns according to the content width, adds missing columns if
needed and inserts the formatting row if missing.

Additionally the Beautify Comment addin allows for aligning multi-line comments.
This saves a lot of time when editing vast commentary in code.

Feel free to install it from my Github via the
[adddinslist](https://github.com/daattali/addinslist) or use
`devtools::install_github('mwip/beautifyR')`.

If you encounter any bugs, please report them as an
[issue](https://github.com/mwip/beautifyR/issues).

---

## beautifyR in action
### Beautify multi-line comments in R code
![example of beautify comment](docs/beautifyR_comment.gif)

### Beautify Table
![example of beautifyR](docs/beautifyR_just_beautify.gif)

### Insert and fill missing columns
![example of beautifyR 2](docs/beautifyR_missing_column.gif)

### Insert missing formatting
![example of beautifyR 3](docs/beautifyR_missing_formatting.gif)

*GIFs generated with [Peek](https://github.com/phw/peek).*