소스 검색

Fix missing dplyr:: for one_of()

pull/18/merge
Garrick Aden-Buie 7 년 전
부모
커밋
0ea0576fa0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      R/tidyr_helpers.R

+ 1
- 1
R/tidyr_helpers.R 파일 보기

@@ -88,7 +88,7 @@ process_wide <- function(x, ids, key, color_id = "lightgray", ...) {
key_values <- names(x)
key_values <- key_values[!key_values %in% ids]

id_values <- x %>% select(one_of(ids))
id_values <- x %>% select(dplyr::one_of(ids))
id_values <- id_values %>% tidyr::gather(key = ".key_map", value = ".id_map")

x <- x %>% mutate(.r = row_number()) %>%

Loading…
취소
저장