You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems in the most recent update to ggplot2, there is now a warning thrown if the number of aesthetic attributes doesn't match the number of data rows. This warning now gets generated when add_risktable() is used. The error is most easily confirmed in the current documentation page:
> packageVersion("ggplot2")
[1] ‘3.5.0’
Warning messages:
1: In ggplot2::geom_blank() :
All aesthetics have length 1, but the data has 208 rows.
ℹ Did you mean to use `annotate()`?
2: In ggplot2::geom_blank() :
All aesthetics have length 1, but the data has 208 rows.
ℹ Did you mean to use `annotate()`?
3: In ggplot2::geom_blank() :
All aesthetics have length 1, but the data has 208 rows.
ℹ Did you mean to use `annotate()`?
The text was updated successfully, but these errors were encountered:
It seems in the most recent update to ggplot2, there is now a warning thrown if the number of aesthetic attributes doesn't match the number of data rows. This warning now gets generated when add_risktable() is used. The error is most easily confirmed in the current documentation page:
https://www.danieldsjoberg.com/ggsurvfit/reference/add_risktable.html
Below is a quick reproducible example, so long as the calling environment is using ggplot2 version 3.5.0.
The text was updated successfully, but these errors were encountered: