Skip to content

Distinguish singular and plural in error message #116

@ghost

Description

Singular ("index") should be used in this error message if only one non-existing colum is referenced.

a <- tibble(x=1:3, y=4:6)
a[3]
Error: Invalid column indexes: 3
Called from: stopc("Invalid column indexes: ", format_n(j[pos_too_large]))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions