Last updated on 2024-11-03 11:49:49 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 2020.1.31 | 1.54 | 28.73 | 30.27 | NOTE | |
r-devel-linux-x86_64-debian-gcc | 2020.1.31 | 0.26 | 1.60 | 1.86 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 2020.1.31 | 48.63 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 2020.1.31 | 58.24 | NOTE | |||
r-devel-windows-x86_64 | 2020.1.31 | 3.00 | 60.00 | 63.00 | NOTE | |
r-patched-linux-x86_64 | 2020.1.31 | 1.41 | 27.16 | 28.57 | NOTE | |
r-release-linux-x86_64 | 2020.1.31 | 1.54 | 23.45 | 24.99 | ERROR | |
r-release-macos-arm64 | 2020.1.31 | 23.00 | NOTE | |||
r-release-macos-x86_64 | 2020.1.31 | 41.00 | NOTE | |||
r-release-windows-x86_64 | 2020.1.31 | 3.00 | 64.00 | 67.00 | NOTE | |
r-oldrel-macos-arm64 | 2020.1.31 | 26.00 | OK | |||
r-oldrel-macos-x86_64 | 2020.1.31 | 38.00 | OK | |||
r-oldrel-windows-x86_64 | 2020.1.31 | 3.00 | 61.00 | 64.00 | OK |
Version: 2020.1.31
Check: Rd files
Result: NOTE
checkRd: (-1) WeightedROC.Rd:10: Lost braces; missing escapes or markup?
10 | integer/numeric with values all in {0=negative,1=positive} or
| ^
checkRd: (-1) WeightedROC.Rd:11: Lost braces; missing escapes or markup?
11 | {1=negative,2=positive} or {-1=negative,1=positive}.}
| ^
checkRd: (-1) WeightedROC.Rd:11: Lost braces; missing escapes or markup?
11 | {1=negative,2=positive} or {-1=negative,1=positive}.}
| ^
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
Version: 2020.1.31
Check: whether package can be installed
Result: ERROR
Installation failed.
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2020.1.31
Check: package dependencies
Result: NOTE
Packages suggested but not available for checking:
'pROC', 'glmnet', 'geometry'
Flavor: r-release-linux-x86_64
Version: 2020.1.31
Check: examples
Result: ERROR
Running examples in ‘WeightedROC-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: WeightedAUC
> ### Title: WeightedAUC
> ### Aliases: WeightedAUC
>
> ### ** Examples
>
>
> library(WeightedROC)
> ## Compute the AUC for this weighted data set.
> y <- c(0, 0, 1, 1, 1)
> w <- c(1, 1, 1, 4, 5)
> y.hat <- c(1, 2, 3, 1, 1)
> tp.fp <- WeightedROC(y.hat, y, w)
> (wauc <- WeightedAUC(tp.fp))
[1] 0.325
>
> ## For the un-weighted ROCR example data set, verify that our AUC is
> ## the same as that of ROCR/pROC.
> if(require(microbenchmark) && require(ROCR) && require(pROC)){
+ data(ROCR.simple, envir=environment())
+ microbenchmark(WeightedROC={
+ tp.fp <- with(ROCR.simple, WeightedROC(predictions, labels))
+ wroc <- WeightedAUC(tp.fp)
+ }, ROCR={
+ pred <- with(ROCR.simple, prediction(predictions, labels))
+ rocr <- performance(pred, "auc")@y.values[[1]]
+ }, pROC={
+ proc <- pROC::auc(labels ~ predictions, ROCR.simple, algorithm=2)
+ }, times=10)
+ rbind(WeightedROC=wroc, ROCR=rocr, pROC=proc) #same
+ }
Loading required package: microbenchmark
Loading required package: ROCR
Loading required package: pROC
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘pROC’
>
> ## For the un-weighted pROC example data set, verify that our AUC is
> ## the same as that of ROCR/pROC.
> data(aSAH, envir=environment())
Warning in data(aSAH, envir = environment()) :
data set ‘aSAH’ not found
> table(aSAH$s100b)
Error: object 'aSAH' not found
Execution halted
Flavor: r-release-linux-x86_64
Version: 2020.1.31
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("WeightedROC")
Loading required package: WeightedROC
label
-1
4
label
1
4
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 8 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-auc.R:53:1'): (code run outside of `test_that()`) ──────────────
<packageNotFoundError/error/condition>
Error in `library(geometry)`: there is no package called 'geometry'
Backtrace:
▆
1. └─base::library(geometry) at test-auc.R:53:1
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 8 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64