Skip to content

Using 'label_number' at package top-level generates R CMD check NOTE about '...' #513

@MichaelChirico

Description

@MichaelChirico
foo <- scales::label_number(
  scale_cut = scales::cut_short_scale(),
  accuracy = 0.1
)

codetools::checkUsage(foo)
# <anonymous>: ... may be used in an incorrect context: 
#      number(x, accuracy = accuracy, scale = scale, prefix = prefix, 
#          suffix = suffix, big.mark = big.mark, decimal.mark = decimal.mark, 
#          style_positive = style_positive, style_negative = style_negative, 
#          scale_cut = scale_cut, trim = trim, ...)

Is that working as intended? Or is there a known workaround?

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