diff --git a/R/collapse_misc.R b/R/collapse_misc.R index 51073353..cc0df608 100644 --- a/R/collapse_misc.R +++ b/R/collapse_misc.R @@ -16,7 +16,7 @@ as_matrix <- function(x){ #' select_cols <- function(data, col_names){ - collapse::get_vars(data, vars = col_names, return = 'data') + collapse::fselect(data, as.character(col_names), return = 'data') }