Skip to content

Commit

Permalink
add all_of()
Browse files Browse the repository at this point in the history
  • Loading branch information
jwildfire committed Jun 16, 2023
1 parent bd885e3 commit 1997fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/stack_events.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ standardize_events <- function(data, settings, domain=""){
# make a details object with all other columns in settings
cols<-as.character(settings)
details <- data %>%
select(cols) %>%
select(all_of(cols)) %>%
select(-settings[["id_col"]]) %>%
select(-settings[["stdy_col"]]) %>%
select(-settings[["endy_col"]]) %>%
Expand Down

0 comments on commit 1997fa6

Please sign in to comment.