-
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
suppress "Each group consists of only one observation" #6012
Comments
These messages are suppressable through the usual methods of |
@teunbrand Unfortunately, the message is not suppressable using those methods. Not sure how to demonstrate this with a reprex of a rendered rmarkdown, but if you were to copy the snippet into an rmarkdown yourself you will see. Here is a "combo" chunk:
Still results in the message being displayed |
The trick is to have the |
ok, This works. (message=F does not).
|
With |
geom_line()
: Each group consists of only one observation. Do you need to adjust the group aesthetic?"While you can (sometimes) eliminate this message if you use
groups=1
or convert variables from factor to numeric, in one case you can not; whengeom_line
is used in a facet plot and one of the facets has only one data point. This makes rmd's a little uglyCreated on 2024-07-24 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: