Skip to content

Error Message: pivot_wider() Help those who are a little undercaffeinated, slow on the uptake... #1593

Description

@bms63

Hi all,

So...I'm embarrassed how many times I run this code for something I was working on and being so confused on the message.

I typed name_from and name_glue rather than names_from and names_glue.

Not sure if this error message could be improved, but I was so confused about it!!

us_rent_income %>%
pivot_wider(
name_from = variable,
name_glue = "{variable}_{.value}",
values_from = c(estimate, moe)
)

Image

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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions