Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep getting the error while running RStudio R 4.3.3 on MacOS Big Sur #1547

Open
Ge-Desmond opened this issue Apr 8, 2024 · 1 comment
Open
Labels
reprex needs a minimal reproducible example

Comments

@Ge-Desmond
Copy link

Error in rethrow_id_cols_oob():
! i must be a single string, not an integer vector.
ℹ 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.

Backtrace:

  1. ├─... %>% arrange(Cell_line, Drug, Oxygen, Fluence, logPS)
  2. ├─dplyr::arrange(., Cell_line, Drug, Oxygen, Fluence, logPS)
  3. ├─tidyr::pivot_wider(...)
  4. ├─tidyr:::pivot_wider.data.frame(...)
  5. │ └─tidyr:::build_wider_id_cols_expr(...)
  6. │ └─tidyr:::select_wider_id_cols(...)
  7. │ ├─rlang::try_fetch(...)
  8. │ │ └─base::withCallingHandlers(...)
  9. │ └─tidyselect::eval_select(...)
  10. │ └─tidyselect:::eval_select_impl(...)
  11. │ ├─tidyselect:::with_subscript_errors(...)
  12. │ │ └─base::withCallingHandlers(...)
  13. │ └─tidyselect:::vars_select_eval(...)
  14. │ └─tidyselect:::loc_validate(pos, vars, call = error_call)
  15. │ └─vctrs::vec_as_location(pos, n = length(vars), call = call)
  16. ├─vctrs (local) <fn>()
  17. │ └─vctrs:::stop_subscript_oob(...)
  18. │ └─vctrs:::stop_subscript(...)
  19. │ └─rlang::abort(...)
  20. │ └─rlang:::signal_abort(cnd, .file)
  21. │ └─base::signalCondition(cnd)
  22. ├─tidyselect (local) <fn>(<vctrs___>)
  23. │ └─rlang::cnd_signal(cnd)
  24. │ └─rlang:::signal_abort(cnd)
  25. │ └─base::signalCondition(cnd)
  26. └─rlang (local) <fn>(<vctrs___>)
  27. └─handlers[1L]
  28. └─tidyr:::rethrow_id_cols_oob(...)
    
  29.   └─tidyr:::check_string(i, .internal = TRUE)
    
  30.     └─tidyr:::stop_input_type(...)
    
  31.       └─rlang::abort(message, ..., call = call, arg = arg)
    
@DavisVaughan
Copy link
Member

Could you please turn this into a self-contained reprex (short for minimal reproducible example)? It will help us help you if we can be sure we're all working with/looking at the same stuff.

If you've never heard of a reprex before, you might want to start by reading the tidyverse.org help page.

You can install reprex by running (you may already have it, though, if you have the tidyverse package installed):

install.packages("reprex")

Thanks

@DavisVaughan DavisVaughan added the reprex needs a minimal reproducible example label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reprex needs a minimal reproducible example
Projects
None yet
Development

No branches or pull requests

2 participants