How do I rename columns with the new ..
-type names that may result from tibble’s .name_repair
?
x <- tibble::as_tibble(list(1), .name_repair = "unique")
#> New names:
#> * `` -> `..1`
dplyr::rename(x, a = `..1`)
#> Error in .f(.x[[i]], ...): ..1 used in an incorrect context, no ... to look in
Am I missing something, or is this a bug?