Description
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:
- tidyr::unite(...)
- tidyr:::unite.data.frame(...)
- 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>