With options(warnPartialMatchDollar = TRUE), pROC throws some partial match warnings, which propagated up into yardstick and tune in tidymodels/tune#334
options(warnPartialMatchDollar=TRUE)
library(pROC)
data(aSAH)
# Basic example
roc(
aSAH$outcome,
aSAH$s100b,
levels=c("Good", "Poor")
)
#> Setting direction: controls < cases#> Warning: partial match of 'se' to 'sensitivities'#> Warning: partial match of 'sp' to 'specificities'#> #> Call:#> roc.default(response = aSAH$outcome, predictor = aSAH$s100b, levels = c("Good", "Poor"))#> #> Data: aSAH$s100b in 72 controls (aSAH$outcome Good) < 41 cases (aSAH$outcome Poor).#> Area under the curve: 0.7314
The text was updated successfully, but these errors were encountered:
This needed changes in a few more places than I was expecting, but it should be fixed on master now.
Hopefully I haven't introduced more bugs. Fortunately the lines are all covered by tests so we should be safe.
I need to release a fix before Jan 12 upon request by CRAN (#88). I'd just like to assess where issue #82 stands and if it can go together, so this will be released soon, probably over the holiday.
With
options(warnPartialMatchDollar = TRUE)
, pROC throws some partial match warnings, which propagated up into yardstick and tune in tidymodels/tune#334The text was updated successfully, but these errors were encountered: