Example, I want to drop field mpg, select carb so that it's first, then just everything that's left over in their existing order.
mtcars |> select_at(vars(-mpg, carb, everything()))
This seems to drop mpg as desired, but carb is not in the front position / first variable.
My call to select_at() was intended to read in english 'drop mpg, then select carb first then everything else'.
On the docs for ?vars it says to use across. I'm open to either, but would prefer a one liner if possible as opposed to e.g. select(-mpg) |> select_at(vars(carb, everything()))