xrobin / pROC

Display and analyze ROC curves in R and S+
https://cran.r-project.org/web/packages/pROC/
GNU General Public License v3.0
121 stars 31 forks source link

Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0. #117

Closed MichaelChirico closed 1 year ago

MichaelChirico commented 1 year ago

https://github.com/xrobin/pROC/blob/edcd42d7f63210e51830e69b5528d968235edf37/tests/testthat/test-ggroc.R#L7

This is throwing a warning in the testthat suite. The recommended alternative:

ℹ Please use `linewidth` instead.
xrobin commented 1 year ago

Support for the linewidth argument was added in c0569fc. However the tests still have to be fixed. Note: linewidth is not available in ggroc < 3.4.0. Consider if tests should be skipped for older versions.