CRAN Package Check Results for Package cchs

Last updated on 2026-10-24 12:51:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.5 7.11 58.05 65.16 OK
r-devel-linux-x86_64-debian-gcc 0.4.5 4.99 43.96 48.95 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.5 43.06 OK
r-devel-linux-x86_64-fedora-gcc 0.4.5 44.53 OK
r-devel-windows-x86_64 0.4.5 7.00 71.00 78.00 OK
r-patched-linux-x86_64 0.4.5 6.82 53.29 60.11 OK
r-release-linux-x86_64 0.4.5 6.89 53.72 60.61 OK
r-release-macos-arm64 0.4.5 2.00 16.00 18.00 OK
r-release-macos-x86_64 0.4.5 5.00 59.00 64.00 OK
r-release-windows-x86_64 0.4.5 8.00 66.00 74.00 OK
r-oldrel-macos-arm64 0.4.5 OK
r-oldrel-macos-x86_64 0.4.5 4.00 65.00 69.00 OK
r-oldrel-windows-x86_64 0.4.5 10.00 72.00 82.00 OK

Check Details

Version: 0.4.5
Check: examples
Result: ERROR Running examples in ‘cchs-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cchs > ### Title: Cox model for case-cohort data with stratified > ### subcohort-selection > ### Aliases: cchs > > ### ** Examples > > # Analyze the relation between survival and three covariates in cchsData. > # The times are stored as numbers of days, so precision has to be 1. The > # selection of the subcohort was stratified according to two strata, defined > # by cchsData$localHistol, and the sampling fractions are stored in > # cchsData$sampFrac. > > cchs(Surv(time, isCase) ~ stage + centralLabHistol + ageAtDiagnosis, + data=cchsData, inSubcohort=inSubcohort, stratum=localHistol, + samplingFractions=sampFrac, precision=1) Error in a$specials[[i]] : subscript out of bounds Calls: cchs ... model.matrix -> model.matrix.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc