A tool to help identify the opening and closing of comments in a spin
document. This function is designed to help the user resolve the error
"comments must be put in pairs of start and end delimiters."
Path to the R script. The script must be encoded in UTF-8 if it
contains multi-byte characters.
comment
A pair of regular expressions for the start and end delimiters
of comments; the lines between a start and an end delimiter will be
ignored. By default, the delimiters are /* at the beginning of a
line, and */ at the end, following the convention of C-style
comments.
text
A character vector of code, as an alternative way to provide the
R source. If text is not NULL, hair will be ignored.