CRAN Package Check Results for Package curephEM

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 8.92 91.83 100.75 NOTE
r-devel-linux-x86_64-debian-gcc 0.3.2 6.53 59.92 66.45 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.2 65.93 OK
r-devel-linux-x86_64-fedora-gcc 0.3.2 7.00 70.16 77.16 OK
r-devel-windows-x86_64 0.3.2 10.00 106.00 116.00 OK
r-patched-linux-x86_64 0.3.2 8.36 80.09 88.45 OK
r-release-linux-x86_64 0.3.2 8.42 79.93 88.35 OK
r-release-macos-arm64 0.3.2 2.00 27.00 29.00 OK
r-release-macos-x86_64 0.3.2 6.00 96.00 102.00 OK
r-release-windows-x86_64 0.3.2 10.00 93.00 103.00 OK
r-oldrel-macos-arm64 0.3.2 OK
r-oldrel-macos-x86_64 0.3.2 6.00 97.00 103.00 OK
r-oldrel-windows-x86_64 0.3.2 15.00 117.00 132.00 OK

Check Details

Version: 0.3.2
Check: Rd contents
Result: NOTE Rd files without \usage: ‘cureph-object.Rd’ \arguments should not be documented without \usage. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.3.2
Check: examples
Result: ERROR Running examples in ‘curephEM-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cureph > ### Title: NPMLE for Logistic-CoxPH Cure-Rate Model > ### Aliases: cureph > > ### ** Examples > > > # A simulated data set > data('sim.cureph.data') > # Or you may generate another one > sim.cureph.data = cureph.simgen() > > # Check out the true coefficients and baseline survival > attributes(sim.cureph.data) $names [1] "time" "time2" "event" "Z1" "Z2" "Z3" "Z4" $row.names [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [19] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 [37] 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 [55] 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 [73] 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 [91] 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 [109] 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 [127] 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 [145] 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 [163] 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 [181] 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 [199] 199 200 $class [1] "data.frame" $true.coef $true.coef$a [1] 1.00 -0.63 1.00 0.00 0.00 0.00 0.00 $true.coef$b [1] -0.2 0.3 0.0 0.0 0.0 0.0 $true.baseline.surv function (x) pmax(pmin(1 - x/20, 1), 0) <bytecode: 0x555f82239658> <environment: 0x555f8223ed88> > > # Fit logistic-CoxPH cure-rate model > fit=cureph(Surv.cure(time,time2,event,origin=0,end=20)~Z1+Z2+Z3+Z4,data=sim.cureph.data) Error in a$specials[[i]] : subscript out of bounds Calls: cureph ... survfit.coxph -> model.matrix.coxph -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.2
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(curephEM) Loading required package: survival Loading required package: Matrix > > test_check("curephEM") Saving _problems/test-curephEM-10.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-curephEM.R:10:1'): (code run outside of `test_that()`) ───────── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. └─curephEM::cureph(...) at test-curephEM.R:10:1 2. └─curephEM (local) fitter(Y, A, Z, init, control, var.method) 3. └─curephEM:::CureCox.EM.fit(...) 4. ├─survival::survfit(coxfit0) 5. └─survival:::survfit.coxph(coxfit0) 6. └─survival:::model.matrix.coxph(object, data = mf) 7. └─stats::delete.response(object$terms) 8. └─stats (local) off(a$specials[[i]]) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc