This works:
require("magrittr") requireNamespace("dplyr") df <- data.frame(a = 1:5) c <- "a" df %>% dplyr::mutate(b =