title: How NOT to select columns using select() dplyr when you have character vector of colnames?
body: <p>I am trying to unselect columns in my dataset using dplyr, but I am not able to achieve that since last night.</p>
  
  <p>I am well aware of work around but I am being strictly trying to find answer just through dplyr.</p>
  
  <pre><code>library(dplyr)
  df &lt;- tibble(x = c(1,2,3,4), y = c('a','b','c','d'))
  df %&gt;% select(-c('x'))
  </code></pre>
  
  <p>Gives me an error : Error in -c("x") : invalid argument to unary operator</p>
  
  <p>Now, I know that select takes in unquoted values but I am not able to sub-select in this fashion.</p>
  
  <p>Please note the above dataset is just an example, we can have many columns.</p>
  
  <p>Thanks,</p>
  
  <p>Prerit</p>