title: How to detect if not all elements in vector are quoted
body: <p>Say I have this vector:</p>
  <pre><code>vars &lt;- c(1, &quot;2&quot;)
  </code></pre>
  <p>Since those two elements are in the same vector, they are both coerced to character. Even if I treat them as independent elements on a list, once they are extracted from the same vector, they keep their type on the list:</p>
  <pre><code>sapply(as.list(vars), class)
  [1] &quot;character&quot; &quot;character&quot;
  </code></pre>
  <p>What function would find that not all of the elements in vector <code>vars</code> are of type character? Maybe another way to put it is: what function would detect that not all of the elements on vector <code>vars</code> are quoted?</p>