library(dplyr) func <- function(data, col){ data <- data %>% mutate(col = {{col}}*2) return(data) } df <- data.frame(x = c(1:8), y = c("he