浏览代码

Fix missing dplyr:: for one_of()

pull/18/merge
父节点
当前提交
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()) %>%

正在加载...
取消
保存