CRAN Package Check Results for Package lrstat

Last updated on 2026-10-24 15:51:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.4 613.49 320.06 933.55 OK
r-devel-linux-x86_64-debian-gcc 0.3.4 622.16 220.24 842.40 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.4 309.00 238.09 547.09 OK
r-devel-linux-x86_64-fedora-gcc 0.3.4 685.00 207.74 892.74 OK
r-devel-windows-x86_64 0.3.4 684.00 521.00 1205.00 OK
r-patched-linux-x86_64 0.3.4 864.86 311.89 1176.75 OK
r-release-linux-x86_64 0.3.4 828.91 315.04 1143.95 OK
r-release-macos-arm64 0.3.4 118.00 -14.00 104.00 OK
r-release-macos-x86_64 0.3.4 393.00 173.00 566.00 OK
r-release-windows-x86_64 0.3.4 657.00 473.00 1130.00 OK
r-oldrel-macos-arm64 0.3.4 111.00 -11.00 100.00 OK
r-oldrel-macos-x86_64 0.3.4 398.00 127.00 525.00 OK
r-oldrel-windows-x86_64 0.3.4 929.00 533.00 1462.00 OK

Check Details

Version: 0.3.4
Check: tests
Result: ERROR Running ‘testthat.R’ [22s/25s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(lrstat) > > test_check("lrstat") WARNING: The required information cannot be attained by increasing followupTime alone. accrualDuration is also increased to attain the required information. Loading required package: shiny Loading required package: ggplot2 Attaching package: 'plotly' The following object is masked from 'package:ggplot2': last_plot The following object is masked from 'package:stats': filter The following object is masked from 'package:graphics': layout Saving _problems/test-survival-diagnostics-419.R Saving _problems/test-survival-diagnostics-489.R Saving _problems/test-survival-diagnostics-526.R Saving _problems/test-survival-diagnostics-563.R Saving _problems/test-survival-diagnostics-631.R [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1200 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-survival-diagnostics.R:419:7'): residuals_phregr: right-censored data with covariates ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─stats::resid(fit2, type = type) at test-survival-diagnostics.R:419:7 2. └─survival:::residuals.coxph(fit2, type = type) 3. └─survival:::coxph.getdata(object, y = TRUE, x = TRUE, stratax = TRUE) 4. ├─stats::model.matrix(fit, data = mf) 5. └─survival:::model.matrix.coxph(fit, data = mf) 6. └─stats::delete.response(object$terms) 7. └─stats (local) off(a$specials[[i]]) ── Error ('test-survival-diagnostics.R:489:7'): residuals_phregr: counting process data with covariates ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─stats::resid(fit2, type = type) at test-survival-diagnostics.R:489:7 2. └─survival:::residuals.coxph(fit2, type = type) 3. └─survival:::coxph.getdata(object, y = TRUE, x = TRUE, stratax = TRUE) 4. ├─stats::model.matrix(fit, data = mf) 5. └─survival:::model.matrix.coxph(fit, data = mf) 6. └─stats::delete.response(object$terms) 7. └─stats (local) off(a$specials[[i]]) ── Error ('test-survival-diagnostics.R:526:3'): survfit_phregr: right-censored data ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─survival::survfit(fit2, newdata = temp, conf.type = "log-log") at test-survival-diagnostics.R:526:3 2. └─survival:::survfit.coxph(fit2, newdata = temp, conf.type = "log-log") 3. └─survival:::model.matrix.coxph(object, data = mf) 4. └─stats::delete.response(object$terms) 5. └─stats (local) off(a$specials[[i]]) ── Error ('test-survival-diagnostics.R:563:3'): survfit_phregr: stratified analysis ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─survival::survfit(fit2, newdata = temp2, conf.type = "log-log") at test-survival-diagnostics.R:563:3 2. └─survival:::survfit.coxph(fit2, newdata = temp2, conf.type = "log-log") 3. └─survival:::model.matrix.coxph(object, data = mf) 4. └─stats::delete.response(object$terms) 5. └─stats (local) off(a$specials[[i]]) ── Error ('test-survival-diagnostics.R:631:3'): survfit_phregr: time-dependent covariates ── <subscriptOutOfBoundsError/error/condition> Error in `a$specials[[i]]`: subscript out of bounds Backtrace: ▆ 1. ├─survival::survfit(fit2, newdata = temp, id = id, conf.type = "log-log") at test-survival-diagnostics.R:631:3 2. └─survival:::survfit.coxph(fit2, newdata = temp, id = id, conf.type = "log-log") 3. └─survival:::model.matrix.coxph(object, data = mf) 4. └─stats::delete.response(object$terms) 5. └─stats (local) off(a$specials[[i]]) [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1200 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc