File: eval-c.md

package info (click to toggle)
r-cran-tidyselect 1.2.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 620 kB
  • sloc: sh: 13; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# uniquely-named inputs can't rename duplicates

    Code
      names(df)
    Output
      [1] "a" "b" "a"
    Code
      select_loc(df, c(foo = a))
    Condition
      Error in `select_loc()`:
      ! Can't rename duplicate variables to `foo`.