CRAN Package Check Results for Package easysurv

Last updated on 2026-10-23 01:56:19 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.3 18.75 277.82 296.57 OK
r-devel-linux-x86_64-debian-gcc 2.0.3 14.74 193.25 207.99 OK
r-devel-linux-x86_64-fedora-clang 2.0.3 14.00 140.29 154.29 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0.3 13.00 139.19 152.19 ERROR
r-devel-windows-x86_64 2.0.3 25.00 263.00 288.00 OK
r-patched-linux-x86_64 2.0.3 19.43 258.44 277.87 OK
r-release-linux-x86_64 2.0.3 17.80 258.62 276.42 OK
r-release-macos-arm64 2.0.3 5.00 68.00 73.00 OK
r-release-macos-x86_64 2.0.3 14.00 323.00 337.00 OK
r-release-windows-x86_64 2.0.3 21.00 251.00 272.00 OK
r-oldrel-macos-arm64 2.0.3 6.00 89.00 95.00 OK
r-oldrel-macos-x86_64 2.0.3 13.00 298.00 311.00 OK
r-oldrel-windows-x86_64 2.0.3 31.00 342.00 373.00 OK

Check Details

Version: 2.0.3
Check: examples
Result: ERROR Running examples in ‘easysurv-Ex.R’ failed The error most likely occurred in: > ### Name: get_schoenfeld > ### Title: Extract Schoenfeld Residuals > ### Aliases: get_schoenfeld > > ### ** Examples > > library(survival) > test_fit <- survival::coxph(survival::Surv(time, status) ~ sex, data = lung) > test_fit_zph <- survival::cox.zph(test_fit) Error in a$specials[[i]] : subscript out of bounds Calls: <Anonymous> ... model.matrix -> model.matrix.coxph -> delete.response -> off Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.0.3
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [17s/27s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(easysurv) > > test_check("easysurv") ! Failed splines: "1_knot_hazard_scale", "2_knot_hazard_scale", and "3_knot_hazard_scale". ! Failed splines: "1_knot_hazard_scale", "2_knot_hazard_scale", and "3_knot_hazard_scale". Saving _problems/test-test_ph-9.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 20 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-test_ph.R:2:3'): test_ph function does not return an error ─── Expected `test_ph(data = easy_lung, time = "time", event = "status", group = "sex")` not to throw any errors. Actually got a <subscriptOutOfBoundsError> with message: subscript out of bounds [ FAIL 1 | WARN 0 | SKIP 0 | PASS 20 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.0.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘easysurv.Rmd’ using rmarkdown Quitting from easysurv.Rmd:189-198 [ph] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: ▆ 1. └─easysurv::test_ph(...) 2. └─survival::cox.zph(the_coxph) 3. └─survival:::coxph.getdata(...) 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: processing vignette 'easysurv.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘easysurv.Rmd’ SUMMARY: processing the following file failed: ‘easysurv.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.0.3
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [17s/34s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(easysurv) > > test_check("easysurv") ! Failed splines: "1_knot_hazard_scale", "2_knot_hazard_scale", and "3_knot_hazard_scale". ! Failed splines: "1_knot_hazard_scale", "2_knot_hazard_scale", and "3_knot_hazard_scale". Saving _problems/test-test_ph-9.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 20 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-test_ph.R:2:3'): test_ph function does not return an error ─── Expected `test_ph(data = easy_lung, time = "time", event = "status", group = "sex")` not to throw any errors. Actually got a <subscriptOutOfBoundsError> with message: subscript out of bounds [ FAIL 1 | WARN 0 | SKIP 0 | PASS 20 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc