Last updated on 2025-12-27 09:50:20 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.0 | 97.97 | 301.88 | 399.85 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.0 | 66.59 | 242.21 | 308.80 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.0 | 207.00 | 464.55 | 671.55 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 189.00 | 588.00 | 777.00 | OK | |
| r-devel-windows-x86_64 | 0.1.0 | 105.00 | 273.00 | 378.00 | ERROR | |
| r-patched-linux-x86_64 | 0.1.0 | 96.38 | 316.44 | 412.82 | OK | |
| r-release-linux-x86_64 | 0.1.0 | 85.54 | 296.45 | 381.99 | OK | |
| r-release-macos-arm64 | 0.1.0 | OK | ||||
| r-release-macos-x86_64 | 0.1.0 | 62.00 | 330.00 | 392.00 | OK | |
| r-release-windows-x86_64 | 0.1.0 | 108.00 | 323.00 | 431.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.0 | NOTE | ||||
| r-oldrel-macos-x86_64 | 0.1.0 | 62.00 | 261.00 | 323.00 | NOTE | |
| r-oldrel-windows-x86_64 | 0.1.0 | 126.00 | 422.00 | 548.00 | OK |
Version: 0.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [118s]
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(BayesSurvive)
>
> test_check("BayesSurvive")
Saving _problems/test-general-32.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 16 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-general.R:32:1'): (code run outside of `test_that()`) ──────────
Error in ``[.data.table`(out[["Brier"]][["score"]], , `:=`(IBS, sapply(times, function(t) { Dint(x = c(0, times), y = c(0, Brier), range = c(0, t)) })), by = c("model"))`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. ├─stats::predict(fit, survObj.new = dataset, times = 8.5, verbose = FALSE) at test-general.R:32:1
2. └─BayesSurvive:::predict.BayesSurvive(...)
3. ├─riskRegression::Score(...)
4. └─riskRegression::Score.list(...)
5. └─riskRegression:::computePerformance(...)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 16 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.0
Check: installed package size
Result: NOTE
installed size is 7.1Mb
sub-directories of 1Mb or more:
libs 5.7Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64