title: Remove an element of a list by name
body: <p>I'm working with a long named list and I'm trying to keep/remove elements that match a certain name, within a tidyverse context, similar to </p>
  
  <pre><code>dplyr::select(contains("pattern"))
  </code></pre>
  
  <p>However, I'm having issues figuring it out.</p>
  
  <pre><code>library(tidyverse)
  
  a_list &lt;- 
    list(a = "asdfg",
         b = "qwerty",
         c = "zxcvb")
  
  a_list %&gt;% pluck("a") # works
  a_list %&gt;% pluck(contains("a")) #does not work
  
  a_list[2:3] # this is what I want
  a_list %&gt;% pluck(-"a") # but this does not work
  </code></pre>