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.
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.
Install the released version from CRAN:
install.packages("easyComment")
library(easyComment)
generate_comment_box("Hello, world!", width = 50, align = "center")
MIT © Gregoire Muller