How to rename a dataframe with a list : <p>I have this dataset:</p>

<pre><code>library(tidyverse)
DF &lt;- tribble(
    ~District,        ~Income,
    "District 1",        1610,
    "district2",         4906,
    "DISTRICT1",        12082,
    "DISTRICT 1",       13791,
    "district1",        21551,
    "District 2",       35126,
)

DF
</code></pre>

<p>And I have a list with new variable names (in real life, I have a lot of variables).</p>

<pre><code>Nombres &lt;- list(c("Distrito" , "Ingreso"))
</code></pre>

<p>I want to rename the dataset and my expective outcome is:</p>

<pre><code># A tibble: 6 x 2
  Distrito   Ingreso
  &lt;chr&gt;        &lt;dbl&gt;
1 District 1    1610
2 district2     4906
3 DISTRICT1    12082
4 DISTRICT 1   13791
5 district1    21551
6 District 2   35126
</code></pre>

<p>Thank you very much for your help. Greetings!</p>
