vctrs
vctrs copied to clipboard
Error in `vec_rank()`
! Unsupported vctrs type null.
ℹ In file type-info.c at line 189.
ℹ This is an internal error that was detected in the vctrs package.
Please report it at https://github.com/r-lib/vctrs/issues with a reprex and the full backtrace.
Backtrace:
▆
- ├─dplyr::ntile(...)
- │ └─dplyr::row_number(x)
- │ └─vctrs::vec_rank(x, ties = "sequential", incomplete = "na")
- └─rlang:::stop_internal_c_lib(...)
- └─rlang::abort(message, call = call, .internal = TRUE, .frame = frame)
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