title: How to fix the error of "breaks and labels must have the same length?
body: <p>Every time I run my code I get the error of breaks and labels not being the same length</p>
  
  <p>I've tried re-writing the code multiple times but nothing seems to work. I'm also new to using Rstudio</p>
  
  <pre><code>denisondata %&gt;% 
    group_by(genderid) %&gt;% 
    mean_ci(race) %&gt;% 
    filter(genderid != "NA") %&gt;% 
  
    ggplot(., aes(x = genderid, y = mean, fill = genderid)) +
    geom_col() + 
    facet_wrap(~race) +
    labs(x = "Gender Identity", y = "Race") +
    scale_x_continuous(breaks = c(1, 2, 3, 4, 5), 
                       labels = c("White, Hispanic, Black, Asian, Other"), 
                       limits = ("White, Other")) +
    theme(text = element_text(family = "Garamond", size = 12), 
          legend.position = "blank")
  </code></pre>
  
  <p>I expected a bar graph to be created about race and gender identity</p>