Skip to content

Add style for constants? #235

@joshwlambert

Description

@joshwlambert

Although fairly uncommon in R, internal and exported constants are used in R packages (and base R e.g. ?pi). Would it be beneficial to add a short piece of advice on how to style these?

I've had a very quick look at {lintr} and couldn't see anything on this, but definitely could have missed it.

PEP8 advises all caps if interested in what other language style guides say.

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