Error when selecting variables (with `varSelectInput`) and using ggplot with Shiny (Error: `arg` must a symbol)

I am trying to make a Shiny app which uses this function (made in R markdown): ls_vs <- function(variable) { dataset %>% filter({{variable}} != 254.948530) %>% filter({{variable}} != 121.738080) %>% ggplot(mapping = aes(y = life_satisfaction, x = {{variable}})) + geom_point(aes(color = region, shape = freedom_status), size = 2) + geom_smooth(color = "cyan") + labs(y =… Read More Error when selecting variables (with `varSelectInput`) and using ggplot with Shiny (Error: `arg` must a symbol)