Warning (test-plotCDFbyGroup.R:51:3): `plotCDFbyGroup()` throws warning when non-positive RFU values are detected
The `scale_name` argument of `discrete_scale()` is deprecated as of ggplot2 3.5.0.
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-plotCDFbyGroup.R:51:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─SomaPlotr::plotCDFbyGroup(data, "seq.5489.18", Sex)
8. └─SomaPlotr::scale_color_soma() at SomaPlotr/R/plotCDFbyGroup.R:91:5
9. └─ggplot2::discrete_scale(...) at SomaPlotr/R/style-soma.R:31:3
10. └─ggplot2:::deprecate_soft0("3.5.0", "discrete_scale(scale_name)")