Use wb_comment()
in new code. See openxlsx2-deprecated
create_comment(
text,
author = Sys.info()[["user"]],
style = NULL,
visible = TRUE,
width = 2,
height = 4
)
a wbComment
object
Comment text. Character vector. or a fmt_txt()
string.
A string, by default, will use "user"
A Style object or list of style objects the same length as comment vector.
Default: TRUE
. Is the comment visible by default?
Textbox integer width in number of cells
Textbox integer height in number of cells