title: replace NA of numeric columns with both numeric and character values in R
body: <p>I have a dataframe df with multiple columns.<br>
  two of them ( columns AGE and SALARY ), are of type double.<br>
  I want to replace the missing value of column AGE with 0 and <br>
  missing value of column SALARY with &quot;not found&quot;. <br>
  <br>
  what is the most efficient way to do so?</p>
  <pre><code>replace_na(df, list(AGE=0, SALARY=&quot;not found&quot;))
  </code></pre>
  <p>I get error : <br></p>
  <pre><code>Error in `stop_vctrs()`:
  ! Can't convert `replace$SALARY` &lt;character&gt; to match type of `data$SALARY` &lt;double&gt;.
  Backtrace:
   1. tidyr::replace_na(df, list(AGE= 0, SALARY= &quot;not found&quot;))
   2. tidyr:::replace_na.data.frame(df, list(AGE= 0, SALARY= &quot;not found&quot;))
   3. vctrs::vec_assign(...)
   4. vctrs `&lt;fn&gt;`()
   5. vctrs::vec_default_cast(...)
   6. vctrs::stop_incompatible_cast(...)
   7. vctrs::stop_incompatible_type(...)
   8. vctrs:::stop_incompatible(...)
   9. vctrs:::stop_vctrs(...)
  </code></pre>
  <p>edit : this is the source of my dataset : <a href="https://drive.google.com/file/d/1cKxzNrnIMq4RxdMcBz3nlr7YtYaPhn5_/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/1cKxzNrnIMq4RxdMcBz3nlr7YtYaPhn5_/view?usp=sharing</a></p>