Closed hadley closed 4 years ago
@hadley Thanks for informing! I think we could relax the tests a bit here.
Having investigated this a bit more, I now think it's due to the switch to farver in hue_pal()
. I'm going to try and get to the bottom of it today, but it's possible we'll roll back to the previous implementation in which case you probably won't need to do anything.
@hadley Thanks. Please keep me posted then.
Yup, looks like this is fixed on my end 😄
@hadley I am seeing some mismatches in color here https://cran.r-project.org/web/checks/check_results_ggfortify.html that needs to be corrected by 2020-03-20. For example:
── 6. Failure: autoplot ts works for multivariate timeseries (@test-ts.R#150) ─
ld$fill not equal to rep(c("#00BFC4", "#F8766D"), 4).
4/8 mismatches
x[1]: "#F8766D"
y[1]: "#00BFC4"
x[3]: "#F8766D"
y[3]: "#00BFC4"
x[6]: "#00BFC4"
y[6]: "#F8766D"
x[8]: "#00BFC4"
y[8]: "#F8766D"
Is that related to this issue?
With test failures like:
I suspect this is due to:
col_factor()
now tries to avoid interpolating qualitative RColorBrewer palettes. Instead, it attempts to assign a palette color to each factor level. Interpolation will still be used if there are more factor levels than available colors, and a warning will be emitted in that case (@jcheng5, #191).