title: Error: Problem with `mutate()` input `relig2`. x unused arguments
body: <p>I am relatively new to R and currently doing an assignment where I have to run some models. I have some variables that I need to recode, but when running the code I get an error (see R code and error below).</p>
  <p>I use <code>library(dplyr)</code> to execute the command. I have also tried putting ticks around the numbers, inserting <code>dplyr::recode()</code> and changed the order of the numbers, but still I get the same error.</p>
  <p>What does this error mean and how can I fix it?</p>
  <pre><code>library(dplyr)
  essdk &lt;- essdk %&gt;%
    mutate(relig2 = recode(rlgatnd,
                           &quot;Every day&quot; = 7,
                           &quot;More than once a week&quot; = 6,
                           &quot;Once a week&quot; = 5,
                           &quot;At least once a month&quot; = 4,
                           &quot;Only on special holy days&quot; = 3,
                           &quot;Less often&quot; = 2,
                           &quot;Never&quot; =  1,
                           &quot;Refusal&quot; = NULL,
                           &quot;Don't know&quot; = NULL,
                           &quot;No answer&quot; = NULL,
                           &quot;NA's&quot; = NULL))
  
  Error: Problem with `mutate()` input `relig2`.
  x unused arguments (`Every day` = 7, `More than once a week` = 6, `Once a week` = 5, `At least once a month` = 4, `Only on special holy days` = 3, `Less often` = 2, Never = 1, Refusal = NULL, `Don't know` = NULL, `No answer` = NULL, `NA's` = NULL)
  ℹ Input `relig2` is `recode(...)`.
  Backtrace:
  2. dplyr::mutate(...)
   15. dplyr:::h(simpleError(msg, call))
  </code></pre>