[Bioc-devel] Format roxgen comment (alternative to formatR)

Kern, Lori Lor|@Shepherd @end|ng |rom Ro@we||P@rk@org
Wed Sep 22 23:13:14 CEST 2021

It looks like Mike had a nice answer on the support site

Lori Shepherd

Bioconductor Core Team

Roswell Park Comprehensive Cancer Center

Department of Biostatistics & Bioinformatics

Elm & Carlton Streets

Buffalo, New York 14263

From: Bioc-devel <bioc-devel-bounces using r-project.org> on behalf of Jean-Philippe Villemin <jpvillemin using gmail.com>
Sent: Wednesday, September 22, 2021 4:00 AM
To: bioc-devel using r-project.org <bioc-devel using r-project.org>
Subject: [Bioc-devel] Format roxgen comment (alternative to formatR)

Hi all,

From BiocCheck :

   - NOTE: Consider shorter lines; 501 lines (14%) are > 80 characters long.

Most of these lines are roxygen comments.

formatR package says :

Also note that single lines of long comments will be wrapped into shorter
ones automatically when wrap = TRUE, but roxygen comments will not be
wrapped (i.e., comments that begin with #').

Don't tell me I have to do this one line per line. Please.

The other main NOTE is about size of function. So I cut function into
2parts , remove blank line, but it's not adding clarity. I found it weird.
Shorter line should be given as advice before size of lines because then
you try to address function size problem first, and you have to handle size
of lines, that will again may change size function.

Of note, I already post on Bioconductor support but I realised then that
the bioc-devel mailing list might be more appropriate.

Sorry for duplicate.

*Jean-Philippe Villemin   *- Bioinformatics, PhD -

Cancer Bioinformatics and Systems Biology

Institut de Recherche en Canc�rologie de Montpellier

Inserm U1194

*jpvillemin using gmail.com <jpvillemin using gmail.com>*

        [[alternative HTML version deleted]]

Bioc-devel using r-project.org mailing list

This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.
	[[alternative HTML version deleted]]

More information about the Bioc-devel mailing list