Skip to content

Error in df_append() #1577

Closed
Closed
@nicfre

Description

@nicfre

Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on https://stackoverflow.com/ or https://forum.posit.co/.

Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.


Brief description of the problem:
I tried to run unite (tidyr package) to combine two columns in a metadata dataframe into one. This worked on a subset dataframe of the same data 10 minutes ago. But now I got an error stating that I should report it to you, since this is an internal error in the tidyr package. I have pasted in the backtrace below and the Error message. The pasted reprex is very short and I am not sure if it should be longer or if this is what I should expect. Hope this is helpful, and let me know if you need more information from me.

Backtrace:

  1. tidyr::unite(...)
  2. tidyr:::unite.data.frame(...)
  3. tidyr:::df_append(after = after)

Error:
Error in df_append():
! after must be a number between 0 and 47, not the number 48.
ℹ This is an internal error that was detected in the tidyr package.
Please report it at https://github.com/tidyverse/tidyr/issues with a reprex and the full backtrace.

https://reprex.tidyverse.org/

    #> Error in parse(text = input): attempt to use zero-length variable name

<sup>Created on 2024-10-17 with [reprex v2.1.1](https://reprex.tidyverse.org)</sup>

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