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