- using R version 4.5.1 Patched (2025-07-06 r88391)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-19) 14.2.0
GNU Fortran (Debian 14.2.0-19) 14.2.0
- running under: Debian GNU/Linux 13 (trixie)
- using session charset: UTF-8
- checking for file ‘NMsim/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘NMsim’ version ‘0.2.3’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package which this enhances but not available for checking: ‘simpar’
- 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 ‘NMsim’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/1s] 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 ... [19s/26s] OK
- 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 examples ... [4s/6s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [30s/35s] ERROR
Running ‘testthat.R’ [30s/34s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(NMsim)
NMsim 0.2.3. Browse NMsim documentation at
https://NMautoverse.github.io/NMsim/
>
> test_check("NMsim")
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 139 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_NMcreateMatLines.R:66:9'): Full covariance matrix ────────────
`res` has changed from known value recorded in 'testReference/NMcreateMatLines_03.rds'.
5/5 mismatches
x[1]: " BLOCK(5) FIX 0.00421346"
y[1]: " BLOCK(5) FIX 0.00253814"
x[2]: "0.00216572 0.00341787"
y[2]: "0.00113554 0.00292987"
x[3]: "-0.0026693 -0.00208163 0.0119622"
y[3]: "-0.00157543 -0.000280481 0.0263268"
x[4]: "0.00802184 0.00513707 -0.0243139 0.076761"
y[4]: "0.0044503 0.00198917 -0.0579947 0.159833"
x[5]: "0.00111323 0.000867854 -0.0048564 0.0174466 0.00596833"
y[5]: "0.0012677 0.000341358 -0.0203661 0.0535258 0.0195262"
Backtrace:
▆
1. └─testthat::expect_equal_to_reference(res, fileRef) at test_NMcreateMatLines.R:66:9
2. └─testthat::expect_known_value(..., update = update)
── Failure ('test_NMsim.R:295:9'): sizes ───────────────────────────────────────
`mod` has changed from known value recorded in 'testReference/NMsim_sizes_05.rds'.
Lengths differ: 67 is not 66
Backtrace:
▆
1. └─testthat::expect_equal_to_reference(mod, fileRef) at test_NMsim.R:295:9
2. └─testthat::expect_known_value(..., update = update)
── Failure ('test_NMsim.R:326:9'): inits - modify parameter ────────────────────
`mod` has changed from known value recorded in 'testReference/NMsim_inits_06.rds'.
Lengths differ: 70 is not 69
Backtrace:
▆
1. └─testthat::expect_equal_to_reference(mod, fileRef) at test_NMsim.R:326:9
2. └─testthat::expect_known_value(..., update = update)
── Failure ('test_NMsim_NWPRI.R:66:9'): NMsim_NWPRI ────────────────────────────
mod$THETAPV has changed from known value recorded in 'testReference/NMsim_NWPRI_01_THETAPV.rds'.
5/5 mismatches
x[1]: "$THETAPV BLOCK(5) FIX 0.00421346"
y[1]: "$THETAPV BLOCK(5) FIX 0.00253814"
x[2]: "0.00216572 0.00341787"
y[2]: "0.00113554 0.00292987"
x[3]: "-0.0026693 -0.00208163 0.0119622"
y[3]: "-0.00157543 -0.000280481 0.0263268"
x[4]: "0.00802184 0.00513707 -0.0243139 0.076761"
y[4]: "0.0044503 0.00198917 -0.0579947 0.159833"
x[5]: "0.00111323 0.000867854 -0.0048564 0.0174466 0.00596833"
y[5]: "0.0012677 0.000341358 -0.0203661 0.0535258 0.0195262"
Backtrace:
▆
1. └─testthat::expect_equal_to_reference(...) at test_NMsim_NWPRI.R:66:9
2. └─testthat::expect_known_value(..., update = update)
── Failure ('test_NMsim_NWPRI.R:68:9'): NMsim_NWPRI ────────────────────────────
`mod` has changed from known value recorded in 'testReference/NMsim_NWPRI_01.rds'.
Component "THETAPV": 5 string mismatches
Backtrace:
▆
1. └─testthat::expect_equal_to_reference(mod, fileRef) at test_NMsim_NWPRI.R:68:9
2. └─testthat::expect_known_value(..., update = update)
── Failure ('test_NMsim_VarCov.R:68:5'): Basic ─────────────────────────────────
`mod` has changed from known value recorded in 'testReference/NMsim_VarCov_01a.rds'.
Component "SIGMA": 1 string mismatch
Backtrace:
▆
1. └─testthat::expect_equal_to_reference(mod, fileRef_a) at test_NMsim_VarCov.R:68:5
2. └─testthat::expect_known_value(..., update = update)
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 139 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [6s/10s] OK
- checking HTML version of manual ... [2s/4s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR