Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jun 27, 2023
1 parent 06c4270 commit a3498af
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/recode_into.r
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a3498af

Please sign in to comment.