Skip to content

Commit

Permalink
protect from named char vec
Browse files Browse the repository at this point in the history
  • Loading branch information
bcjaeger committed Dec 12, 2023
1 parent 887c581 commit 9bffee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/collapse_misc.R
Original file line number Diff line number Diff line change
Expand Up @@ -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')

}

Expand Down

0 comments on commit 9bffee8

Please sign in to comment.