CRAN Package Check Results for Package FrailtyCompRisk

Last updated on 2026-12-03 02:50:45 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 6.11 147.74 153.85 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 5.07 78.04 83.11 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 52.37 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 55.89 OK
r-devel-windows-x86_64 0.1.1 8.00 156.00 164.00 OK
r-patched-linux-x86_64 0.1.1 5.79 143.84 149.63 OK
r-release-linux-x86_64 0.1.1 6.30 141.49 147.79 OK
r-release-macos-arm64 0.1.1 2.00 46.00 48.00 OK
r-release-macos-x86_64 0.1.1 5.00 318.00 323.00 OK
r-release-windows-x86_64 0.1.1 8.00 153.00 161.00 OK
r-oldrel-macos-arm64 0.1.1 2.00 40.00 42.00 OK
r-oldrel-macos-x86_64 0.1.1 5.00 323.00 328.00 OK
r-oldrel-windows-x86_64 0.1.1 10.00 195.00 205.00 OK

Check Details

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [26s/32s] 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(FrailtyCompRisk) > > test_check("FrailtyCompRisk") Saving _problems/test-Reml_CompRisk_frailty-95.R Saving _problems/test-Reml_Cox_frailty-72.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 89 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-Reml_CompRisk_frailty.R:95:3'): The p_value for the test theta = 0 might be computationnaly unavailable and therefore equals 'NaN'. ── Error in `Reml_CompRisk_frailty(df)`: The estimated variance of the cluster effect is inferior to the threshold ('threshold' =1e-05), we suggest you use the method without frailty: - method = 'CompRisk' if you are using 'Parameters_estimation()' - 'Ml_CompRisk()' if you are using 'Reml_CompRisk_frailty()' Backtrace: ▆ 1. ├─testthat::expect_message(Reml_CompRisk_frailty(df), "The estimated value of theta is too small to allow a reliable statistical test of whether theta = 0, hence the p-value is 'NaN'. \\nThis suggests that the cluster effect may be negligible.") at test-Reml_CompRisk_frailty.R:95:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─FrailtyCompRisk::Reml_CompRisk_frailty(df) ── Error ('test-Reml_Cox_frailty.R:72:3'): The p_value for the test theta = 0 might be computationnaly unavailable and therefore equals 'NaN'. ── Error in `Reml_Cox_frailty(df)`: The estimated variance of the cluster effect is inferior to the threshold ('threshold' =1e-05), we suggest you use the method without frailty: - method = 'Cox' if you are using 'Parameters_estimation()' - 'Ml_Cox()' if you are using 'Reml_Cox_frailty()' Backtrace: ▆ 1. ├─testthat::expect_message(Reml_Cox_frailty(df), "The estimated value of theta is too small to allow a reliable statistical test of whether theta = 0, hence the p-value is 'NaN'. \\nThis suggests that the cluster effect may be negligible.") at test-Reml_Cox_frailty.R:72:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─FrailtyCompRisk::Reml_Cox_frailty(df) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 89 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc