-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partal matching #5654
Comments
Yeah I noticed this too in your tests. I had a hard time figuring out what the root cause of this was, and still haven't. |
I'm now pretty much convinced that it is a gtable thing. It tries to extract the library(gtable)
library(grid)
options(warnPartialMatchDollar = TRUE)
options(warn = 2)
gtable(
widths = unit(1, "cm"),
heights = unit(1, "cm"),
vp = viewport()
)
#> Error in vp$just: (converted from warning) partial match of 'just' to 'justification' Created on 2024-01-20 with reprex v2.1.0 |
Maybe this line? https://github.com/r-lib/gtable/blob/c410a54ed331cb8480f39f2a7d32cce115c19f1d/R/gtable.R#L120 Confirmed a |
Thanks for the confirmation! As this is a gtable issue, I've put in a PR at gtable, see r-lib/gtable#94. Should we close this issue here? |
Thanks for the PR! As there's nothing we can do on ggplot2's side, I agree we can close this issue. |
I'm preparing to send ggnewscale to CRAN and part of my test is warning against partial matching. This caught an issue that bubbled up from ggplot2 and probably gtable.
I'm preparing to send ggnewscale to CRAN and part of my test is warning against partial matching. This caught an issue that bubbled up from ggplot2 and probably gtable.
traceback (don't know how to print it automatically in the reprex)
Created on 2024-01-20 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: