Repository navigation
Only use data_frame in tests - #3003
Conversation
# R/plot-build.r
…me version and guard data.frame
|
I see one more problem, here: ggplot2/tests/testthat/test-geom-polygon.R Lines 13 to 15 in 4380cb9 Not immediately sure what the cause is. library(ggplot2)
ggplot(faithful, aes(x = eruptions, y = waiting)) +
stat_density2d(aes(fill = stat(level)), geom = "polygon", colour = "white") +
xlim(0.5, 6) + ylim(40, 110)
#> Warning in validDetails.polygon(x): NAs introduced by coercionCreated on 2018-11-15 by the reprex package (v0.2.1) |
|
One other, minor issue that could be fixed as part of this PR: The Line 96 in 92d2777 |
|
Lines 96 to 105 in 4380cb9 |
|
The Lines 92 to 101 in 4380cb9 |
|
Thanks - weirdly this didn't pop up locally... 🤔 |
|
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/ |

Some tests were added between the new_data_frame implementation and it's merge that used the now masked data.frame constructor. This PR fixes these so tests now passes