Closed etiennebacher closed 7 months ago
library(dplyr, warn.conflicts = FALSE) library(tidypolars) vars <- c("mass", "height") starwars |> as_polars_df() |> mutate(prod = .data[[vars[[1]]]] * .data[[vars[[2]]]]) #> Error in `mutate()`: #> ! Unknown function: [[