Skip to content

names<- method should protect against invalid names #466

@hadley

Description

@hadley

i.e. the following code should generate errors:

library(tibble)

df <- tibble(x = 1, y = 2)

names(df) <- "x"
names(df) <- c("x", "x")
names(df) <- c("", "")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions