- using R Under development (unstable) (2026-11-14 r90890)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-4) 16.2.0
GNU Fortran (Debian 16.2.0-4) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-11-15 17:09:08 UTC
- checking for file ‘heemod/DESCRIPTION’ ... OK
- this is package ‘heemod’ version ‘1.1.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [3s/3s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘heemod’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [18s/22s] NOTE
Found calls to structure() using deprecated special names:
heemod/tests/testthat/test_expand.R (.Names: 20)
heemod/tests/testthat/test_model.R (.Dim: 6)
heemod/tests/testthat/test_probabilistic.R (.Names: 1)
heemod/tests/testthat/test_tabular_input.R (.Names: 15)
'.Names' should be changed to 'names'.
'.Dim' should be changed to 'dim'.
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/6s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [54s/63s] ERROR
Running ‘testthat.R’ [54s/62s]
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.
Loading required package: survival
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'...
Saving _problems/test_states-101.R
Saving _problems/test_states-123.R
Saving _problems/test_states-136.R
Saving _problems/test_states-150.R
`dplyr::filter(bc, group == "Good")` is a complex expression. If you need to perform PSA, please make sure the data.frame does not include the package environment, i.e. is not preceded by `::`.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
Resampling strategy 'I'...
Resampling strategy 'I'...
Resampling strategy 'I'...
Resampling strategy 'II'...
Resampling strategy 'I'...
Resampling strategy 'I'...
No covariates provided, returning aggregate survival across all subjects.
Resampling strategy 'I'...
Resampling strategy 'I'...
`km_2` must be a <surv_fit>
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
Resampling strategy 'I'...
Resampling strategy 'II'...
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
No covariates provided, returning aggregate survival across all subjects.
Resampling strategy 'I'...
Resampling strategy 'standard'...
Resampling strategy 'new'...
Updating strategy 'standard'...
Updating strategy 'new'...
[ FAIL 4 | WARN 42 | SKIP 1 | PASS 510 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test_starting_values.R:200:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_states.R:94:5'): State list definition ───────────────────────
Expected output from `str(sl1)` to match string "List of 2\n $ X1:List of 2\n ..$ .dots :List of 2\n .. ..$ x: language ~234".
Actual output:
x | List of 2
| $ X1: List of 2
| ..$ .dots : List of 2
| .. ..$ x: language ~234
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~123
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:2] "quosures" "list"
| ..$ starting_values: List of 2
| .. ..$ x: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:4] "starting_values" "uneval_starting_values" "quosures" "list"
| ..- attr(*, "class")= chr [1:2] "state" "list"
| $ X2: List of 2
| ..$ .dots : List of 2
| .. ..$ x: language ~987
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~1726
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:2] "quosures" "list"
| ..$ starting_values: List of 2
| .. ..$ x: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:4] "starting_values" "uneval_starting_values" "quosures" "list"
| ..- attr(*, "class")= chr [1:2] "state" "list"
| - attr(*, "class")= chr [1:2] "uneval_state_list" "list"
── Failure ('test_states.R:116:5'): State list definition ──────────────────────
Expected output from `str(sl2)` to match string "List of 2\n $ A:List of 2\n ..$ .dots :List of 2\n .. ..$ x: language ~234".
Actual output:
x | List of 2
| $ A: List of 2
| ..$ .dots : List of 2
| .. ..$ x: language ~234
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~123
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:2] "quosures" "list"
| ..$ starting_values: List of 2
| .. ..$ x: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:4] "starting_values" "uneval_starting_values" "quosures" "list"
| ..- attr(*, "class")= chr [1:2] "state" "list"
| $ B: List of 2
| ..$ .dots : List of 2
| .. ..$ x: language ~987
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~1726
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:2] "quosures" "list"
| ..$ starting_values: List of 2
| .. ..$ x: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:4] "starting_values" "uneval_starting_values" "quosures" "list"
| ..- attr(*, "class")= chr [1:2] "state" "list"
| - attr(*, "class")= chr [1:2] "uneval_state_list" "list"
── Failure ('test_states.R:124:5'): State list definition ──────────────────────
Expected output from `str(modify(sl1, X1 = s2))` to match string "List of 2\n $ X1:List of 2\n ..$ .dots :List of 2\n .. ..$ x: language ~987".
Actual output:
x | List of 2
| $ X1: List of 2
| ..$ .dots : List of 2
| .. ..$ x: language ~987
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~1726
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:2] "quosures" "list"
| ..$ starting_values: List of 2
| .. ..$ x: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:4] "starting_values" "uneval_starting_values" "quosures" "list"
| ..- attr(*, "class")= chr [1:2] "state" "list"
| $ X2: List of 2
| ..$ .dots : List of 2
| .. ..$ x: language ~987
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~1726
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:2] "quosures" "list"
| ..$ starting_values: List of 2
| .. ..$ x: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:4] "starting_values" "uneval_starting_values" "quosures" "list"
| ..- attr(*, "class")= chr [1:2] "state" "list"
| - attr(*, "class")= chr [1:2] "uneval_state_list" "list"
── Failure ('test_states.R:138:5'): State list definition ──────────────────────
Expected output from `str(modify(sl1, X3 = s2))` to match string "List of 3\n $ X1:List of 2\n ..$ .dots :List of 2\n .. ..$ x: language ~234".
Actual output:
x | List of 3
| $ X1: List of 2
| ..$ .dots : List of 2
| .. ..$ x: language ~234
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~123
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:2] "quosures" "list"
| ..$ starting_values: List of 2
| .. ..$ x: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:4] "starting_values" "uneval_starting_values" "quosures" "list"
| ..- attr(*, "class")= chr [1:2] "state" "list"
| $ X2: List of 2
| ..$ .dots : List of 2
| .. ..$ x: language ~987
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~1726
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:2] "quosures" "list"
| ..$ starting_values: List of 2
| .. ..$ x: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:4] "starting_values" "uneval_starting_values" "quosures" "list"
| ..- attr(*, "class")= chr [1:2] "state" "list"
| $ X3: List of 2
| ..$ .dots : List of 2
| .. ..$ x: language ~987
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~1726
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:2] "quosures" "list"
| ..$ starting_values: List of 2
| .. ..$ x: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..$ y: language ~0
| .. .. ..- attr(*, ".Environment")= <environment: R_EmptyEnv>
| .. ..- attr(*, "class")= chr [1:4] "starting_values" "uneval_starting_values" "quosures" "list"
| ..- attr(*, "class")= chr [1:2] "state" "list"
| - attr(*, "class")= chr [1:2] "uneval_state_list" "list"
[ FAIL 4 | WARN 42 | SKIP 1 | PASS 510 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [101s/123s] OK
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE