-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Description
Hi Barett and other maintainers,
We recently did a revdepcheck in ggplot2 and found that a new check we introduced got triggered by GGally. In particular we now throw a warning which violates this test:
ggally/tests/testthat/test-ggsurv.R
Lines 72 to 74 in d21c6d6
| expect_silent( | |
| ggsurv(sf.kid, CI = TRUE, surv.col = c("black", "red", "blue", "green")) | |
| ) |
I believe the warning is thrown because lty is used twice in these layer definitions, once in aes() and once as a fixed parameter:
Lines 333 to 343 in d21c6d6
| pl <- pl + | |
| geom_step( | |
| aes(y = .data$up, lty = .data$group, col = .data$group), | |
| lty = stepLty, | |
| linewidth = size.ci | |
| ) + | |
| geom_step( | |
| aes(y = .data$low, lty = .data$group, col = .data$group), | |
| lty = stepLty, | |
| linewidth = size.ci | |
| ) |
We've no immediate plans to release a ggplot2 that includes the check, but just wanted to simply flag this for the future.
Cheers!
Reactions are currently unavailable