You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression: labels and breaks are not the same length #3558
Thanks @smouksassi - this was identified in a number of reverse dependency failures as @thomasp85 mentioned. I'm using this as my reprex:
library(ggplot2)
ggplot(mpg, aes(cty, hwy)) +
geom_point() +
scale_x_continuous(
breaks= c(0, 20, 40),
labels= c("0", "20", "40")
)
#> Error: Breaks and labels are different lengths
I changed how breaks were "censored" by the scales by accident. I think the solution is to move the censoring to guide_train() rather than have the scales do it, but there might be something easier. I'm happy to fix this, but it will take a few days.
Activity
paleolimbot commentedon Oct 7, 2019
Thanks @smouksassi - this was identified in a number of reverse dependency failures as @thomasp85 mentioned. I'm using this as my reprex:
I changed how breaks were "censored" by the scales by accident. I think the solution is to move the censoring to
guide_train()rather than have the scales do it, but there might be something easier. I'm happy to fix this, but it will take a few days.lock commentedon May 20, 2020
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
lock commentedon May 20, 2020
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
Fix scale- and coord-related regressions (tidyverse#3566)