Skip to content

Commit

Permalink
Fix test (issue #129)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrobin committed Aug 11, 2024
1 parent bd984d5 commit 194cf86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-geom_polygon_auc.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ test_that("geom_polygon_auc works with percent and legacy.axes = TRUE", {

test_that("geom_polygon_auc works with percent and legacy.axes = TRUE", {
test_geom_polygon_auc_partial_screenshot <- function() {
auc_sp = auc(roc.s100b, partial.auc = c(0.8, 0.9), partial.auc.focus="sp")
auc_se = auc(roc.s100b, partial.auc = c(0.8, 0.9), partial.auc.focus="se")
print(ggroc(roc.s100b) +
auc_sp = auc(r.s100b, partial.auc = c(0.8, 0.9), partial.auc.focus="sp")
auc_se = auc(r.s100b, partial.auc = c(0.8, 0.9), partial.auc.focus="se")
print(ggroc(r.s100b) +
geom_polygon_auc(auc_se) +
geom_polygon_auc(auc_sp))
}
Expand Down

0 comments on commit 194cf86

Please sign in to comment.