Skip to content

gather_ no longer supports spaces in key_col #361

Closed

Description

@mkoohafkan

sample code:

d = data_frame(a = 1:10, b = letters[1:10], c = sample(LETTERS, 10))
gather_(d, "the variable", "the result")

This worked just fine until version 0.71

Activity

  1. lionel- commented on Sep 12, 2017

    @lionel-
    Member

    I can't reproduce. Could you post your devtools::session_info() after loading tidyr from a fresh session please?

  2. lionel- commented on Sep 12, 2017

    @lionel-
    Member

    Scratch that, I can reproduce.

  3. lionel- commented on Sep 12, 2017

    @lionel-
    Member

    That's because the SE versions are inconsistent in the way they treat non syntactic names. For example nest_() supports them but not unnest_(). If you find more discrepancies with pre-tidy eval versions, please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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