printComment: Print as comment

View source: R/printComment.R

printCommentR Documentation

Print as comment

Description

Print as comment

Usage

printComment(
  ...,
  prefix = c("##", "## >", "#'", "#' >", "#", "# >"),
  width = 80L
)

Arguments

...

Passthrough to print().

prefix

Comment prefix to use. RStudio, roxygen, and ESS prefixes are supported.

width

integer(1L). Desired output width. Defaults to 80 characters.

Value

Console output.

Note

Updated 2022-10-20.

Examples

printComment(c("hello", "world"))

mjsteinbaugh/devtools documentation built on Jan. 5, 2024, 11:09 a.m.