Skip to content

Enforce single-hash comments #1288

@MichaelChirico

Description

@MichaelChirico

The guide has https://style.tidyverse.org/functions.html#comments:

In code, use comments to explain the “why” not the “what” or “how”. Each line of a comment should begin with the comment symbol and a single space: #.

That should fix something like:

## my code

This latter is used by e.g. ESS and Bioconductor

https://contributions.bioconductor.org/r-code.html#rcode-comments

https://ess.r-project.org/Manual/ess.html#Indenting-and-formatting-R-code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions