Skip to content

new version breaks pivot_wider #1318

@dcaud

Description

@dcaud

Latest version of tidyr returns error about not being able to subset names that don't exist.

Reverting to ver. 1.1.4 makes the code work again.

I've no time to create a reprex, but here's essentially what breaks:

temp.pivot <- pivot_wider(
   output.df,
   id_cols = "boom",
   values_from = c(paste0(r,"some_suffix_name")), 
   names_from = "boom"
 )

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