title: geom_density_ridges requires the following missing aesthetics: y
body: <p>No matter what I try I cannot create a ridgeline plot using <code>ggridges</code>. Using a dataframe <code>graphing_dataframe</code> that looks as follows:</p>
  <pre><code>str(graphing_dataframe)
  summary(graphing_dataframe)
  
  &gt; str(graphing_dataframe)
  Classes ‘tbl_df’, ‘tbl’ and 'data.frame':   14 obs. of  3 variables:
   $ id    : chr  &quot;00343&quot; &quot;00343&quot; &quot;00343&quot; &quot;00343&quot; ...
   $ week  : num  14 1 2 3 4 5 6 7 8 9 ...
   $ rating: num  14 4 12 8 14 19 16 16 7 8 ...
   - attr(*, &quot;spec&quot;)=
    .. cols(
    ..   id = col_character(),
    ..   week = col_double(),
    ..   rating = col_double()
    .. )
  &gt; summary(graphing_dataframe)
        id                 week           rating     
   Length:14          Min.   : 1.00   Min.   : 4.00  
   Class :character   1st Qu.: 4.25   1st Qu.: 8.00  
   Mode  :character   Median : 7.50   Median :10.50  
                      Mean   : 7.50   Mean   :11.43  
                      3rd Qu.:10.75   3rd Qu.:15.50  
                      Max.   :14.00   Max.   :19.00 
  </code></pre>
  <p>My data is:</p>
  <pre><code>structure(list(id = c(&quot;00343&quot;, &quot;00343&quot;, &quot;00343&quot;, &quot;00343&quot;, &quot;00343&quot;, 
  &quot;00343&quot;, &quot;00343&quot;, &quot;00343&quot;, &quot;00343&quot;, &quot;00343&quot;, &quot;00343&quot;, &quot;00343&quot;, 
  &quot;00343&quot;, &quot;00343&quot;), week = c(14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 
  11, 12, 13), rating = c(14, 4, 12, 8, 14, 19, 16, 16, 7, 8, 9, 
  18, 9, 6)), class = c(&quot;tbl_df&quot;, &quot;tbl&quot;, &quot;data.frame&quot;), row.names = c(NA, 
  -14L), spec = structure(list(cols = list(id = structure(list(), class = c(&quot;collector_character&quot;, 
  &quot;collector&quot;)), week = structure(list(), class = c(&quot;collector_double&quot;, 
  &quot;collector&quot;)), rating = structure(list(), class = c(&quot;collector_double&quot;, 
  &quot;collector&quot;))), default = structure(list(), class = c(&quot;collector_guess&quot;, 
  &quot;collector&quot;))), class = &quot;col_spec&quot;))
  </code></pre>
  <p>My code is:</p>
  <pre><code>ggplot(graphing_dataframe, 
         aes(x = rating, y = week, fill = ..x..)
         ) +
    geom_density_ridges()
  
  Picking joint bandwidth of 2.53
  Error: geom_density_ridges requires the following missing aesthetics: y
  </code></pre>
  <p>I've tried using <code>unlist</code> per <a href="https://stackoverflow.com/questions/29459866/ggplot2-error-geom-point-requires-the-following-missing-aesthetics-y">this question</a> but that doesn't work either.</p>