I think I have changed some settings or some package is causing problems. I don't know. But the code does not work anymore:
library(tidyverse)
iris <- as_tibble(iris)
starwars %>% select(height)
Es folgt die Fehlermeldung:
Error in vctrs::vec_as_subscript()
:
! ...
must be empty.
x Problematic argument:
- call = call
Runrlang::last_error()
to see where the error occurred.
And further:
rlang::last_error()
<error/rlib_error_dots_nonempty>
Error invctrs::vec_as_subscript()
:
!...
must be empty.
x Problematic argument:
- call = call
Backtrace:
- starwars %>% select(height)
- dplyr:::select.data.frame(., height)
- tidyselect::eval_select(expr(c(...)), .data)
- tidyselect:::eval_select_impl(...)
- tidyselect:::vars_select_eval(...)
- tidyselect:::walk_data_tree(expr, data_mask, context_mask)
- tidyselect:::eval_c(expr, data_mask, context_mask)
- 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)
Runrlang::last_trace()
to see the full context.
rlang::last_trace()
<error/rlib_error_dots_nonempty>
Error invctrs::vec_as_subscript()
:
!...
must be empty.
x Problematic argument:
- call = call
Backtrace:
x
- +-starwars %>% select(height)
- +-dplyr::select(., height)
- -dplyr:::select.data.frame(., height)
- -tidyselect::eval_select(expr(c(...)), .data)
-
\-tidyselect:::eval_select_impl(...)
-
+-tidyselect:::with_subscript_errors(...)
-
| \-rlang::try_fetch(...)
-
| \-base::withCallingHandlers(...)
-
\-tidyselect:::vars_select_eval(...)
-
\-tidyselect:::walk_data_tree(expr, data_mask, context_mask)
-
\-tidyselect:::eval_c(expr, data_mask, context_mask)
-
\-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)
-
\-ellipsis::check_dots_empty()
-
\-rlang:::action_dots(...)
-
+-base (local) try_dots(...)
-
\-rlang (local) action(...)
Does anyone have experience with this?