Skip to content

Commit

Permalink
not convert names autmatically
Browse files Browse the repository at this point in the history
  • Loading branch information
EhrmannS committed Feb 13, 2024
1 parent 7c33684 commit d84446a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/getIDVars.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ getIDVars <- function(schema = NULL, input = NULL){
temp <- temp %>%
extract(col = 1, into = names(temp), regex = tempVar$split)
} else {
temp <- map_dfc(.x = seq_along(temp), .f = function(iy){
temp <- map(.x = seq_along(temp), .f = function(iy){
temp %>%
select(all_of(iy)) %>%
extract(col = 1, into = names(temp)[iy], regex = tempVar$split)
})
tidyr::extract(col = 1, into = names(temp)[iy], regex = tempVar$split)
}) %>% bind_cols(.name_repair = "check_unique")
}
}

Expand Down

0 comments on commit d84446a

Please sign in to comment.