Running 'testthat.R' [25s]
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