Last updated on 2025-12-12 02:49:56 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.0 | 14.26 | 341.79 | 356.05 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.0 | 9.26 | 196.68 | 205.94 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.1.0 | 64.00 | 501.61 | 565.61 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.1.0 | 41.00 | 507.80 | 548.80 | OK | |
| r-devel-windows-x86_64 | 1.1.0 | 22.00 | 319.00 | 341.00 | OK | |
| r-patched-linux-x86_64 | 1.1.0 | 15.94 | 316.44 | 332.38 | OK | |
| r-release-linux-x86_64 | 1.1.0 | 13.34 | 319.90 | 333.24 | OK | |
| r-release-macos-arm64 | 1.1.0 | OK | ||||
| r-release-macos-x86_64 | 1.1.0 | 12.00 | 262.00 | 274.00 | OK | |
| r-release-windows-x86_64 | 1.1.0 | 19.00 | 307.00 | 326.00 | OK | |
| r-oldrel-macos-arm64 | 1.1.0 | OK | ||||
| r-oldrel-macos-x86_64 | 1.1.0 | 12.00 | 253.00 | 265.00 | OK | |
| r-oldrel-windows-x86_64 | 1.1.0 | 29.00 | 407.00 | 436.00 | OK |
Version: 1.1.0
Check: examples
Result: ERROR
Running examples in ‘heemod-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: apply_shift
> ### Title: Apply a time shift to a survival distribution
> ### Aliases: apply_shift
>
> ### ** Examples
>
>
> dist1 <- define_surv_dist(distribution = "gamma", rate = 0.25, shape = 3)
> shift_dist <- apply_shift(dist1, 4)
> compute_surv(dist1, 1:10)
Loading required namespace: flexsurv
Failed with error: ‘there is no package called ‘flexsurv’’
Error in eval_surv.surv_dist(x, cycle_length * time_, ...) :
'flexsurv' package required.
Calls: compute_surv -> eval_surv -> eval_surv.surv_dist
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [39s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(heemod)
>
> test_check("heemod")
I: detected use of 'state_time', expanding states: A, B.
I: detected use of 'state_time', expanding states: A, B.
I: detected use of 'state_time', expanding states: A, B.
I: detected use of 'state_time', expanding states: A, B.
I: detected use of 'state_time', expanding states: A, B.
I: detected use of 'state_time', expanding state: A.
I: detected use of 'state_time', expanding state: B.
I: detected use of 'state_time', expanding state: C.
Updating strategy 'I'...
Updating strategy 'II'...
Updating strategy 'I'...
Updating strategy 'II'...
No weights specified in update, using equal weights.
Updating strategy 'I'...
Updating strategy 'II'...
Loading required namespace: diagram
I: detected use of 'state_time', expanding state: A.
I: detected use of 'state_time', expanding state: A.
Updating strategy 'standard'...
Updating strategy 'new'...
Updating strategy 'standard'...
Updating strategy 'new'...
Cluster closed.
Resampling strategy 'I'...
Resampling strategy 'II'...
Resampling strategy 'I'...
Resampling strategy 'II'...
Resampling strategy 'I'...
Resampling strategy 'II'...
Loading required namespace: logitnorm
I: detected use of 'state_time', expanding state: X2.
II: detected use of 'state_time', expanding state: X2.
Resampling strategy 'I'...
Resampling strategy 'II'...
Loading required namespace: flexsurv
Failed with error: 'there is no package called 'flexsurv''
Saving _problems/test_surv_psa-10.R
Resampling strategy 'standard'...
Resampling strategy 'new'...
Updating strategy 'standard'...
Updating strategy 'new'...
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 393 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• empty test (1): 'test_starting_values.R:200:1'
• {flexsurv} is not installed. (2): 'test_part_surv.R:1:1',
'test_surv_eval.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_surv_psa.R:7:1'): (code run outside of `test_that()`) ──────────
Error in `define_surv_dist(distribution = "weibullPH", shape = 1)`: 'flexsurv' package required.
Backtrace:
▆
1. └─heemod::define_surv_dist(distribution = "weibullPH", shape = 1) at test_surv_psa.R:7:1
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 393 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘a_introduction.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘a_introduction.Rmd’
--- re-building ‘b_time_dependency.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘b_time_dependency.Rmd’
--- re-building ‘c_homogeneous.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘c_homogeneous.Rmd’
--- re-building ‘d_non_homogeneous.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘d_non_homogeneous.Rmd’
--- re-building ‘e_probabilistic.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘e_probabilistic.Rmd’
--- re-building ‘f_sensitivity.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘f_sensitivity.Rmd’
--- re-building ‘g_heterogeneity.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘g_heterogeneity.Rmd’
--- re-building ‘h_tabular.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘h_tabular.Rmd’
--- re-building ‘i_reproduction.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘i_reproduction.Rmd’
--- re-building ‘j_survival.Rmd’ using rmarkdown
Failed with error: 'there is no package called 'flexsurv''
Quitting from j_survival.Rmd:28-39 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `define_surv_spline()`:
! 'flexsurv' package required.
---
Backtrace:
▆
1. └─heemod::define_surv_spline(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'j_survival.Rmd' failed with diagnostics:
'flexsurv' package required.
--- failed re-building ‘j_survival.Rmd’
--- re-building ‘j_survival_2_psa.Rmd’ using rmarkdown
Quitting from j_survival_2_psa.Rmd:13-16 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `library()`:
! there is no package called 'flexsurv'
---
Backtrace:
▆
1. └─base::library(flexsurv)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'j_survival_2_psa.Rmd' failed with diagnostics:
there is no package called 'flexsurv'
--- failed re-building ‘j_survival_2_psa.Rmd’
--- re-building ‘k_calibration.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘k_calibration.Rmd’
SUMMARY: processing the following files failed:
‘j_survival.Rmd’ ‘j_survival_2_psa.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc