Skip to content
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

Fix warning about 'width' as an unknown aesthetic #82

Open
matt-dray opened this issue Oct 30, 2024 · 1 comment
Open

Fix warning about 'width' as an unknown aesthetic #82

matt-dray opened this issue Oct 30, 2024 · 1 comment
Labels
could MoSCoW priority techdebt Make hastily-written code easier to maintain
Milestone

Comments

@matt-dray
Copy link
Contributor

This warning emerges as part of the code introduced by #77 (see note in that PR):

Warning in ggplot2::geom_crossbar(data = stats::na.omit(focal_pointrange),  :
  Ignoring unknown aesthetics:
width

It appears when the mixture distribution plots are redrawn, which can clog the console.

Suppress for now and add a comment to explain that the behaviour is known.

Ultimate goal should be to eliminate the warning by correcting the code.

@matt-dray matt-dray added could MoSCoW priority techdebt Make hastily-written code easier to maintain labels Oct 30, 2024
@matt-dray matt-dray added this to the Backlog milestone Oct 30, 2024
craig-parylo added a commit that referenced this issue Oct 31, 2024
@matt-dray matt-dray modified the milestones: Backlog, v0.4.0 Oct 31, 2024
@matt-dray
Copy link
Contributor Author

Putting in backlog. The warning is suppressed in 878301f to be fixed later if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
could MoSCoW priority techdebt Make hastily-written code easier to maintain
Projects
None yet
Development

No branches or pull requests

1 participant