Skip to content

Commit

Permalink
fix select all warning
Browse files Browse the repository at this point in the history
  • Loading branch information
elena-krismer committed Nov 4, 2024
1 parent 989fe45 commit 3df6bb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/impute_randomforest.R
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ impute_randomforest <- function(
result <- data_imputed %>%
dplyr::left_join(
data %>%
dplyr::select(retain_columns, !!sample_sym),
by = as.character(sample_sym)
dplyr::select(all_of(retain_columns), !!sample_sym),
by = c(as.character(sample_sym), as.character(grouping_sym))
)
} else {
result <- data_imputed
Expand Down

0 comments on commit 3df6bb5

Please sign in to comment.