diff --git a/R/data_modify.R b/R/data_modify.R index c3cb0f521..4621590c8 100644 --- a/R/data_modify.R +++ b/R/data_modify.R @@ -185,7 +185,6 @@ data_modify.data.frame <- function(data, ..., .if = NULL, .at = NULL, .modify = "New variable has not the same length as the other variables in the data frame and cannot be recycled." ) } - data[[names(dots)[i]]] <- new_variable } }