We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
alpha
If you have psych loaded (which is now a tidyverse autoload, I believe, via broom), geom_mosaic throws this error:
psych
broom
geom_mosaic
Error in alpha(data$fill, data$alpha) : Data must either be a data frame or a matrix
Unloading psych dependencies and then unloading psych makes it work, because of the alpha function.
Specifying scales::alpha() in your code should fix this?
scales::alpha()
draw_panel = function(data, panel_scales, coord) { # cat("draw_panel in GeomMosaic\n") # browser() if (all(is.na(data$colour))) data$colour <- scales::alpha(data$fill, data$alpha) # regard alpha in colour determination
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion. The change has been made.
Sorry, something went wrong.
No branches or pull requests
If you have
psych
loaded (which is now a tidyverse autoload, I believe, viabroom
),geom_mosaic
throws this error:Unloading
psych
dependencies and then unloadingpsych
makes it work, because of thealpha
function.Specifying
scales::alpha()
in your code should fix this?The text was updated successfully, but these errors were encountered: