CRAN Package Check Results for Package survival

Last updated on 2023-03-28 16:51:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.5-5 73.11 655.23 728.34 OK
r-devel-linux-x86_64-debian-gcc 3.5-5 59.80 490.42 550.22 OK
r-devel-linux-x86_64-fedora-clang 3.5-5 967.23 NOTE
r-devel-linux-x86_64-fedora-gcc 3.5-5 889.87 OK
r-patched-linux-x86_64 3.5-5 65.40 619.43 684.83 OK
r-release-linux-x86_64 3.5-5 63.55 614.52 678.07 OK
r-release-macos-arm64 3.5-5 284.00 NOTE
r-release-macos-x86_64 3.5-5 387.00 NOTE
r-release-windows-x86_64 3.5-5 276.00 739.00 1015.00 NOTE
r-oldrel-macos-arm64 3.5-5 218.00 ERROR
r-oldrel-macos-x86_64 3.5-5 411.00 NOTE
r-oldrel-windows-ix86+x86_64 3.5-5 155.00 895.00 1050.00 NOTE

Check Details

Version: 3.5-5
Check: installed package size
Result: NOTE
     installed size is 7.7Mb
     sub-directories of 1Mb or more:
     R 1.2Mb
     data 1.9Mb
     doc 3.5Mb
Flavors: r-devel-linux-x86_64-fedora-clang, 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-ix86+x86_64

Version: 3.5-5
Check: examples
Result: ERROR
    Running examples in ‘survival-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: concordance
    > ### Title: Compute the concordance statistic for data or a model
    > ### Aliases: concordance concordance.coxph concordance.formula
    > ### concordance.lm concordance.survreg
    > ### Keywords: survival
    >
    > ### ** Examples
    >
    > fit1 <- coxph(Surv(ptime, pstat) ~ age + sex + mspike, mgus2)
    > concordance(fit1, timewt="n/G2") # Uno's weighting
    Call:
    concordance.coxph(object = fit1, timewt = "n/G2")
    
    n= 1373
    Concordance= 0.6132 se= 0.1026
    concordant discordant tied.x tied.y tied.xy
     461425.07 290956.09 265.66 120.39 0.00
    >
    > # logistic regression
    > fit2 <- glm(I(sex=='M') ~ age + log(creatinine), binomial, data= flchain)
    > concordance(fit2) # equal to the AUC
    Error in (function (y, x, strata, weights, ymin = NULL, ymax = NULL, timewt = c("n", :
     left hand side of the formula must be a numeric vector,
     survival object, or an orderable factor
    Calls: concordance ... eval -> eval -> <Anonymous> -> eval -> eval -> <Anonymous>
    Execution halted
Flavor: r-oldrel-macos-arm64