Generate Comment Boxes with Custom Alignment

Provides a function to generate comment boxes framed with '#' characters, with configurable width and text alignment (left, center, or right). Useful for formatting scripts and improving code readability.


easyComment

Generate comment boxes framed with # characters, with configurable width and text alignment (left, center, or right). Useful for formatting R scripts and improving code readability.

Installation

Install the released version from CRAN:

install.packages("easyComment")

Usage

library(easyComment)

generate_comment_box("Hello, world!", width = 50, align = "center")

License

MIT © Gregoire Muller

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("easyComment")

2.1.0 by Gregoire Muller, 6 months ago


https://gitlab.com/r-packages3/easycomment


Browse source code at https://github.com/cran/easyComment


Authors: Gregoire Muller [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests testthat


See at CRAN