diff --git a/R/recode_into.r b/R/recode_into.r index 7cb4d8340..add3f27f3 100644 --- a/R/recode_into.r +++ b/R/recode_into.r @@ -141,7 +141,6 @@ recode_into <- function(..., data = NULL, default = NA, overwrite = TRUE, verbos # if user doesn't want to overwrite, remove already recoded indices if (!overwrite) { index[which(index)[already_exists]] <- FALSE - # index <- index[which(index)[!already_exists]] } out[index] <- value }