CRAN Package Check Results for Package WeightedROC

Last updated on 2024-06-14 03:57:41 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2020.1.31 1.93 35.16 37.09 NOTE
r-devel-linux-x86_64-debian-gcc 2020.1.31 1.46 19.01 20.47 ERROR
r-devel-linux-x86_64-fedora-clang 2020.1.31 48.65 NOTE
r-devel-linux-x86_64-fedora-gcc 2020.1.31 57.90 NOTE
r-devel-windows-x86_64 2020.1.31 2.00 58.00 60.00 NOTE
r-patched-linux-x86_64 2020.1.31 1.84 34.24 36.08 NOTE
r-release-linux-x86_64 2020.1.31 2.07 34.23 36.30 NOTE
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 63.00 66.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 60.00 63.00 OK

Check Details

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

Version: 2020.1.31
Check: package dependencies
Result: NOTE Packages suggested but not available for checking: 'testthat', 'ggplot2' Flavor: r-devel-linux-x86_64-debian-gcc

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: WeightedROC > ### Title: WeightedROC > ### Aliases: WeightedROC > > ### ** Examples > > > ## WeightedROC can compute ROC curves for data sets with variable > ## weights. > library(WeightedROC) > y <- c(-1, -1, 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) > if(require(ggplot2)){ + gg <- ggplot()+ + geom_path(aes(FPR, TPR), data=tp.fp)+ + coord_equal() + print(gg) + }else{ + plot(TPR~FPR, tp.fp, type="l") + } Loading required package: ggplot2 Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ‘ggplot2’ > > ## The FN/FP columns can be used to plot weighted error as a > ## function of threshold. > error.fun.list <- list( + FN=function(df)df$FN, + FP=function(df)df$FP, + errors=function(df)with(df, FP+FN) + ) > all.error.list <- list() > for(error.type in names(error.fun.list)){ + error.fun <- error.fun.list[[error.type]] + all.error.list[[error.type]] <- + data.frame(tp.fp, error.type, weighted.error=error.fun(tp.fp)) + } > all.error <- do.call(rbind, all.error.list) > fp.fn.colors <- c(FP="skyblue", + FN="#E41A1C", + errors="black") > ggplot()+ + scale_color_manual(values=fp.fn.colors)+ + geom_line(aes(threshold, weighted.error, color=error.type), + data=all.error) Error in ggplot() : could not find function "ggplot" Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2020.1.31
Check: tests
Result: ERROR Running ‘testthat.R’ [0s/1s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) Error in library(testthat) : there is no package called 'testthat' Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2020.1.31
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘Definition.Rnw’ using Sweave Error: processing vignette 'Definition.Rnw' failed with diagnostics: chunk 1 (label = curve) Error in library(ggplot2) : there is no package called ‘ggplot2’ --- failed re-building ‘Definition.Rnw’ SUMMARY: processing the following file failed: ‘Definition.Rnw’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc