Calling the select function in dplyr generates an error. I've tried the dplyr::select trick to no avail. I've ruled out issues with my dataframe as the syntax below calling mtcars even generates the error. I've tried reinstalling tidyverse, dplyr, tidyselect. All to no avail.
mtcars %>% select(mpg)
Here's the error message:
Error in select()
:
! ...
must be empty.
x Problematic argument:
• call = call
Backtrace:
- mtcars %>% select(mpg)
- dplyr:::select.data.frame(., mpg)
- tidyselect::eval_select(expr(c(...)), .data)
- tidyselect:::eval_select_impl(...)
- tidyselect:::vars_select_eval(...)
... - tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
- tidyselect:::walk_data_tree(init, data_mask, context_mask)
- tidyselect:::as_indices_sel_impl(...)
- tidyselect:::as_indices_impl(...)
- vctrs::vec_as_subscript(x, logical = "error", call = call, arg = arg)