title: How to drop all columns with the same name (tidyverse or base R)?
body: <p>My dataset has several columns with the same name and I'd like to delete them. </p>
  
  <p>Unfortunately, <code>select(data, -Offender)</code> doesn't work (<code>Error: Can't bind data because some arguments have the same name</code>), but I can't use <code>janitor::clean_names</code> to overcome that either—I need the remaining to column names unchanged.</p>
  
  <p>I tried with base R (<code>df1 &lt;- subset(df1, select = -c(Offender))</code>), but it then renames the other Offenders.#</p>