I am using R and exercising using the dslabs data for murders in the USA. As follows,
library(dslabs)
data("murders")
library(tidyverse)
murders <- mutate(murders, pop_in_millions = population / 10^6)`
murders <- mutate(murders, rate = total/population * 100000)`
murders <- mutate(murders, rank(-rate))`
select(murders, state, rank)
Error: This tidyselect interface doesn't support predicates yet. i Contact the package author and suggest using
eval_select()
. Runrlang::last_error()
to see where the error occurred.