title: Create a true/false variable in R
body: <p>I have one variable column that contains large string values which are multiple words. I want to create a True/False column which reports true if a certain value is detected within the column of interest.</p>
  
  <p>I have tried a mutate function with an embedded str_detect.</p>
  
  <pre><code>Dataset &lt;- Dataset %&gt;%
    mutate(new_column = str_detect('column.of.interest', "abcd"))
  </code></pre>
  
  <p>My expected output was for all rows in which my column of interest contained "abcd" would report as TRUE in my new column. However, every row reports as FALSE in my new column.</p>