commentr: Print Nicely Formatted Comments for Use in Script Files

Share:

Functions to produce nicely formatted comments to use in R-scripts (or Latex/HTML/markdown etc). A comment with formatting is printed to the console and can then be copied to a script.

Author
Erik Bulow
Date of publication
2016-03-19 11:05:39
Maintainer
Erik Bulow <erik.bulow@rccvast.se>
License
GPL-2
Version
1.0.4

View on CRAN

Man pages

comment
Create nicely formated comments
comment_end
Comment end for R Markdown/HTML
comment_start
Comment start for R Markdown/HTML
comment_width
Function to specify the width of the comment
empty_line
Helper function to create string with hashtags and spaces
full_line
Helper function to create string with repeated hashtags
out
Handle output of the comment

Files in this package

commentr
commentr/inst
commentr/inst/test_coverage
commentr/inst/test_coverage/test.html
commentr/inst/test_coverage/traceOutput.txt
commentr/inst/test_coverage/test_coverage.R
commentr/tests
commentr/tests/testthat.R
commentr/tests/testthat
commentr/tests/testthat/test-block_comment.R
commentr/tests/testthat/test-comment_width.R
commentr/tests/testthat/test-line_comment.R
commentr/tests/testthat/test-header_coment.R
commentr/tests/testthat/test-help_functions.R
commentr/NAMESPACE
commentr/NEWS
commentr/NEWS.md
commentr/R
commentr/R/header_comment.R
commentr/R/comment_width.R
commentr/R/help_functions.R
commentr/R/block_comment.R
commentr/R/commentr.R
commentr/R/line_comment.R
commentr/README.md
commentr/MD5
commentr/DESCRIPTION
commentr/man
commentr/man/out.Rd
commentr/man/comment_start.Rd
commentr/man/comment.Rd
commentr/man/comment_width.Rd
commentr/man/comment_end.Rd
commentr/man/full_line.Rd
commentr/man/empty_line.Rd