CRAN Package Check Results for Package WeightedROC

Last updated on 2025-12-06 00:49:06 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2020.1.31 1.48 32.05 33.53 NOTE
r-devel-linux-x86_64-debian-gcc 2020.1.31 1.27 19.52 20.79 ERROR
r-devel-linux-x86_64-fedora-clang 2020.1.31 50.36 NOTE
r-devel-linux-x86_64-fedora-gcc 2020.1.31 62.40 NOTE
r-devel-windows-x86_64 2020.1.31 2.00 57.00 59.00 NOTE
r-patched-linux-x86_64 2020.1.31 1.63 28.55 30.18 NOTE
r-release-linux-x86_64 2020.1.31 1.49 30.46 31.95 NOTE
r-release-macos-arm64 2020.1.31 NOTE
r-release-macos-x86_64 2020.1.31 2.00 76.00 78.00 NOTE
r-release-windows-x86_64 2020.1.31 3.00 56.00 59.00 NOTE
r-oldrel-macos-arm64 2020.1.31 NOTE
r-oldrel-macos-x86_64 2020.1.31 2.00 39.00 41.00 NOTE
r-oldrel-windows-x86_64 2020.1.31 3.00 67.00 70.00 NOTE

Check Details

Version: 2020.1.31
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Toby Dylan Hocking <toby.hocking@r-project.org>’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = c("Toby", "Dylan"), family = "Hocking", role = c("aut", "cre"), email = "toby.hocking@r-project.org") as necessary. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

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-debian-gcc, 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, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-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-devel-linux-x86_64-debian-gcc