Running 'testthat.R' [65s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # Had the same issue as in this thread: https://github.com/hadley/testthat/issues/86
  > Sys.setenv("R_TESTS" = "")
  > 
  > options(deparse.max.lines = 5,  testthat.summary.max_reports = 1000L)
  > testthat::test_check("dynamichazard", reporter = "summary")
  Loading required package: dynamichazard
  Loading required package: survival
  Tracing function "expect_known_value" in package "testthat"
  Tracing function "expect_known_output" in package "testthat"
  Loading required package: DBI
  Running tests for GMA: ..................
  Testing LAPACK wrapper functions: ..............................................
  Running test_PF: ........................................................................................................................................................................................................SS...SSSSSSSS..S..SS..SSSSSSSSSSSS
  Testing SMA: ................................
  Testing UKF: ..WWWWWW..WWWWWW...WWW.WWWWWW..WWW..WWW..WWW1.WWW..WWW..WWW..WWW..WWW.
  Testing bigglm_wrapper: ..........
  Testing boot: ...S..................................................................................................................................................................................................................................................................................................................................................................................................................
  testing cloglog link function: ....S
  Testing cpp sampling functions: ..................................................................................................................................................................................................................................................................................................................................................................................................................S.............................................................S....
  Running test_cpp_utils.R:: .S............
  Testing ddhazard w/ generic things and w/ the the EKF : .....................S.........WWW2......
  Testing design_mat_and_risk_obj: ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
  Testing fixed_effects_in_E_step: ......34.
  Testing test_fixed_effects_in_M_step: ..5....678S9.
  Testing 'get_start_values': ....................
  Running tests for hatvalues: ....
  Testing examples in man files: .......S.S....SSSS........S
  Testing loglike: ....................WWWW.WWWWa.b
  Testing options: .
  Testing parallelglm vs. glm: ................................................S
  Testing plot functions: ..................WWW....................
  Testing predict: .......................................................................WWW........SS
  Testing print function: ...SS.....
  Testing residuals functions: ..................................................................................................................................................................................................SS
  Testing shiny app: ..
  Testing static_glm: WWW...WWWWWW.WWWcWWWdWWW.WWW.....WWWWWW.WWW....WWWWWW.WWW...........
  Testing summary function: .................
  Testing test_utils: ............S.....e................................
  Testing weights in fit: ................
  
  == Skipped =====================================================================
  1. PF_smooth gives same results (@test_PF.R#71) - Reason: On CRAN
  
  2. Import and export PF cloud from Rcpp gives the same (@test_PF.R#249) - Reason: On CRAN
  
  3. PF_EM gives previous results on head neck data set (@test_PF.R#342) - Reason: On CRAN
  
  4. PF_EM gives previous results on head neck data set with fixed effects and the logit model (@test_PF.R#409) - Reason: On CRAN
  
  5. compute_PF_summary_stats gives previous results (@test_PF.R#434) - Reason: On CRAN
  
  6. 'get_cloud_means' and 'get_cloud_quantiles' gives previous results (@test_PF.R#508) - Reason: On CRAN
  
  7. 'get_ancestors' yields the correct result (@test_PF.R#558) - Reason: On CRAN
  
  8. ´est_params_dens´ gives the same as a R version (@test_PF.R#580) - Reason: On CRAN
  
  9. fixed effect estimation gives the same as an R implementation (@test_PF.R#628) - Reason: On CRAN
  
  10. A few iterations with `type = "VAR"' yields the same as before (@test_PF.R#709) - Reason: On CRAN
  
  11. PF_EM gives the same with restricted and unrestricted model when we estimate all the parameters (@test_PF.R#781) - Reason: On CRAN
  
  12. Using `n_smooth_final` works as expected and yields previous results (@test_PF.R#891) - Reason: On CRAN
  
  13. sampling with a t-distribution gives previous results (@test_PF.R#959) - Reason: On CRAN
  
  14. 'PF_forward_filter' gives the same as 'PF_EM' when it should (@test_PF.R#997) - Reason: On CRAN
  
  15. 'state_fw' gives correct results (@test_PF.R#1126) - Reason: !dir.exists("pf-internals")  is TRUE
  
  16. 'state_bw' gives correct results (@test_PF.R#1162) - Reason: !dir.exists("pf-internals")  is TRUE
  
  17. 'artificial_prior' gives correct results (@test_PF.R#1197) - Reason: !dir.exists("pf-internals")  is TRUE
  
  18. 'observational_cdist' gives correct results (@test_PF.R#1231) - Reason: !dir.exists("pf-internals")  is TRUE
  
  19. combining forward and backwards works (@test_PF.R#1276) - Reason: !dir.exists("pf-internals")  is TRUE
  
  20. combining prior and backwards works (@test_PF.R#1323) - Reason: !dir.exists("pf-internals")  is TRUE
  
  21. mode approximations give expected result (@test_PF.R#1361) - Reason: !dir.exists("pf-internals")  is TRUE
  
  22. 'PF_get_score_n_hess' gives the same as an R implementation (@test_PF.R#1481) - Reason: On CRAN
  
  23. warns with randow walk model when covariates are in both fixed and random (@test_PF.R#1619) - Reason: On CRAN
  
  24. works when there are time periods outside where we have data and with a single fixed and random effect (@test_PF.R#1640) - Reason: On CRAN
  
  25. 'fix_seed = FALSE' yields different results at each call (@test_PF.R#1665) - Reason: On CRAN
  
  26. boot yields previously computed values with pbc (@test_boot_est.R#19) - Reason: On CRAN
  
  27. cloglog function gives previous result with simulated data using PF_EM and PF_forward_filter (@test_cloglog.R#56) - Reason: On CRAN
  
  28. mvrnorm gives expected sample mean and variance (@test_cpp_sample_funcs.R#50) - Reason: On CRAN
  
  29. 'mvtrnorm' yields close to uniform sample (@test_cpp_sample_funcs.R#111) - Reason: On CRAN
  
  30. trunc_lp_in_exponential_dist does not truncate when not needed (@test_cpp_utils.R#12) - Reason: On CRAN
  
  31. Different non-integer time_scales gives the same result with ddhazard (@test_ddhazard_n_EKF.R#165) - Reason: On CRAN
  
  32. posterior_approx gives previous found values with fixed effects in M-step (@test_fixed_effects_in_M_step.R#187) - Reason: On CRAN
  
  33. residuals.ddhazard help page examples gives the same results (@test_help_page_examples.R#43) - Reason: On CRAN
  
  34. ddhazard_boot help page examples gives the same results (@test_help_page_examples.R#67) - Reason: On CRAN
  
  35. PF_EM help page example runs and gives previous computed results (@test_help_page_examples.R#129) - Reason: On CRAN
  
  36. Second example on PF help page gives the same result (@test_help_page_examples.R#170) - Reason: On CRAN
  
  37. example in 'PF_EM' with gives previous results w/ a few iterations (@test_help_page_examples.R#226) - Reason: On CRAN
  
  38. `PF_forward_filter` the results stated in the comments and does not alter the .Random.seed as stated on the help page (@test_help_page_examples.R#357) - Reason: On CRAN
  
  39. 'PF_get_score_n_hess' gives previous results (@test_help_page_examples.R#515) - Reason: On CRAN
  
  40. glm and parallelglm gives the same (@test_parallelglm.R#80) - Reason: On CRAN
  
  41. Terms from predict with exponential outcome are correct (@test_predict.R#413) - Reason: On CRAN
  
  42. Different non-integer time_scales gives the same result with predict results (@test_predict.R#474) - Reason: On CRAN
  
  43. print.ddhazard_boot gives the expected output (@test_print.R#39) - Reason: On CRAN
  
  44. Print function for PF objects gives previous results (@test_print.R#89) - Reason: On CRAN
  
  45. Gets previous results with Rossi (@test_residuals.R#209) - Reason: On CRAN
  
  46. Get prevoius residuals with whas500 (@test_residuals.R#236) - Reason: On CRAN
  
  47. Testing util functions to sim series for tests (@test_test_utils.R#28) - Reason: On CRAN
  
  == Warnings ====================================================================
  1. UKF does not fail and both methods give the same (@test_UKF.R#39) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  2. UKF does not fail and both methods give the same (@test_UKF.R#39) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  3. UKF does not fail and both methods give the same (@test_UKF.R#39) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  4. UKF does not fail and both methods give the same (@test_UKF.R#52) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  5. UKF does not fail and both methods give the same (@test_UKF.R#52) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  6. UKF does not fail and both methods give the same (@test_UKF.R#52) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  7. Changing time scale in UKF does no change results when other parems are changed accoridngly (@test_UKF.R#83) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  8. Changing time scale in UKF does no change results when other parems are changed accoridngly (@test_UKF.R#83) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  9. Changing time scale in UKF does no change results when other parems are changed accoridngly (@test_UKF.R#83) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  10. Changing time scale in UKF does no change results when other parems are changed accoridngly (@test_UKF.R#94) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  11. Changing time scale in UKF does no change results when other parems are changed accoridngly (@test_UKF.R#94) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  12. Changing time scale in UKF does no change results when other parems are changed accoridngly (@test_UKF.R#94) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  13. Testing UKF against prev computed values (@test_UKF.R#117) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  14. Testing UKF against prev computed values (@test_UKF.R#117) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  15. Testing UKF against prev computed values (@test_UKF.R#117) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  16. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#140) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  17. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#140) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  18. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#140) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  19. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#144) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  20. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#144) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  21. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#144) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  22. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#152) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  23. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#152) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  24. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#152) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  25. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#161) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  26. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#161) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  27. Altering UKF alpha, beta and kappa change the results (@test_UKF.R#161) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  28. UKF works on simulated data works with exponential model and gives previous results (@test_UKF.R#170) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  29. UKF works on simulated data works with exponential model and gives previous results (@test_UKF.R#170) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  30. UKF works on simulated data works with exponential model and gives previous results (@test_UKF.R#170) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  31. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  32. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  33. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  34. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  35. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  36. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  37. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  38. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  39. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  40. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  41. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  42. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  43. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  44. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  45. UKF second order model works (that is, gives no errors...) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  46. Result of exponential model gives previous results w/ simulated data (@test_ddhazard_n_EKF.R#246) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  47. Result of exponential model gives previous results w/ simulated data (@test_ddhazard_n_EKF.R#246) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  48. Result of exponential model gives previous results w/ simulated data (@test_ddhazard_n_EKF.R#246) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  49. logLik for simulated data versus old results (@test_loglike.R#170) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  50. logLik for simulated data versus old results (@test_loglike.R#170) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  51. logLik for simulated data versus old results (@test_loglike.R#170) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  52. logLik for simulated data versus old results (@test_loglike.R#181) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  53. logLik for simulated data versus old results (@test_loglike.R#189) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  54. logLik for simulated data versus old results (@test_loglike.R#189) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  55. logLik for simulated data versus old results (@test_loglike.R#189) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  56. logLik for simulated data versus old results (@test_loglike.R#202) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  57. Alters mfcol and sets it back (@test_plot.R#74) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  58. Alters mfcol and sets it back (@test_plot.R#74) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  59. Alters mfcol and sets it back (@test_plot.R#74) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  60. get_survival_case_weights_and_data and predict yields consistent result with ids (@test_predict.R#300) - 'varlist' has changed (from nvar=9) to new 12 after EncodeVars() -- should no longer happen!
  
  61. get_survival_case_weights_and_data and predict yields consistent result with ids (@test_predict.R#300) - 'varlist' has changed (from nvar=9) to new 12 after EncodeVars() -- should no longer happen!
  
  62. get_survival_case_weights_and_data and predict yields consistent result with ids (@test_predict.R#300) - 'varlist' has changed (from nvar=9) to new 12 after EncodeVars() -- should no longer happen!
  
  63. Static glm yields expected number of events, correct rows and same result when supplying risk_obj (@test_static_glm.R#10) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  64. Static glm yields expected number of events, correct rows and same result when supplying risk_obj (@test_static_glm.R#10) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  65. Static glm yields expected number of events, correct rows and same result when supplying risk_obj (@test_static_glm.R#10) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  66. Static glm yields expected number of events, correct rows and same result when supplying risk_obj (@test_static_glm.R#22) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  67. Static glm yields expected number of events, correct rows and same result when supplying risk_obj (@test_static_glm.R#22) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  68. Static glm yields expected number of events, correct rows and same result when supplying risk_obj (@test_static_glm.R#22) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  69. Static glm yields expected number of events, correct rows and same result when supplying risk_obj (@test_static_glm.R#25) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  70. Static glm yields expected number of events, correct rows and same result when supplying risk_obj (@test_static_glm.R#25) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  71. Static glm yields expected number of events, correct rows and same result when supplying risk_obj (@test_static_glm.R#25) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  72. static glm gives results with exponential that match previous computations (@test_static_glm.R#38) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  73. static glm gives results with exponential that match previous computations (@test_static_glm.R#38) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  74. static glm gives results with exponential that match previous computations (@test_static_glm.R#38) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  75. static glm gives results with exponential that match previous computations (@test_static_glm.R#49) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  76. static glm gives results with exponential that match previous computations (@test_static_glm.R#49) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  77. static glm gives results with exponential that match previous computations (@test_static_glm.R#49) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  78. design_matrix yields equal result with different values of use_weights (@test_static_glm.R#61) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  79. design_matrix yields equal result with different values of use_weights (@test_static_glm.R#61) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  80. design_matrix yields equal result with different values of use_weights (@test_static_glm.R#61) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  81. design_matrix yields equal result with different values of use_weights (@test_static_glm.R#70) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  82. design_matrix yields equal result with different values of use_weights (@test_static_glm.R#70) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  83. design_matrix yields equal result with different values of use_weights (@test_static_glm.R#70) - 'varlist' has changed (from nvar=5) to new 8 after EncodeVars() -- should no longer happen!
  
  84. Gets same with different methods (@test_static_glm.R#129) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  85. Gets same with different methods (@test_static_glm.R#129) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  86. Gets same with different methods (@test_static_glm.R#129) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  87. Gets same with different methods (@test_static_glm.R#130) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  88. Gets same with different methods (@test_static_glm.R#130) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  89. Gets same with different methods (@test_static_glm.R#130) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  90. Gets same with different methods (@test_static_glm.R#134) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  91. Gets same with different methods (@test_static_glm.R#134) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  92. Gets same with different methods (@test_static_glm.R#134) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  93. Gets same with different methods (@test_static_glm.R#129) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  94. Gets same with different methods (@test_static_glm.R#129) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  95. Gets same with different methods (@test_static_glm.R#129) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  96. Gets same with different methods (@test_static_glm.R#130) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  97. Gets same with different methods (@test_static_glm.R#130) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  98. Gets same with different methods (@test_static_glm.R#130) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  99. Gets same with different methods (@test_static_glm.R#134) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  100. Gets same with different methods (@test_static_glm.R#134) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  101. Gets same with different methods (@test_static_glm.R#134) - 'varlist' has changed (from nvar=12) to new 15 after EncodeVars() -- should no longer happen!
  
  == Failed ======================================================================
  -- 1. Failure: UKF works on simulated data works with exponential model and give
  `result_exp` has changed from known value recorded in './previous_results/UKF4.RDS'.
  Component "state_vars": Mean relative difference: 0.7249176
  Component "state_vecs": Mean relative difference: 0.3042915
  Component "Q": Mean relative difference: 1.272418
  
  -- 2. Failure: Result of exponential model gives previous results w/ simulated d
  `result_exp` has changed from known value recorded in './previous_results/sim_exp.RDS'.
  Component "state_vars": Mean relative difference: 0.7964709
  Component "state_vecs": Mean relative difference: 0.2107482
  Component "Q": Mean relative difference: 0.9515693
  
  -- 3. Failure: Works with UKF and continous time model (@test_fixed_effects_in_E
  `fit` has changed from known value recorded in './previous_results/E_step_sim_exp_UKF.RDS'.
  Component "state_vars": Mean relative difference: 0.5342654
  Component "state_vecs": Mean relative difference: 0.3713078
  Component "Q": Mean relative difference: 2.120239
  
  -- 4. Failure: Works with second order random walk and continous time model (@te
  `fit` has changed from known value recorded in './previous_results/E_step_sim_exp_UKF_order_two.RDS'.
  Component "state_vars": Mean relative difference: 0.2625218
  Component "state_vecs": Mean relative difference: 0.466683
  Component "Q": Mean relative difference: 4.037211
  
  -- 5. Failure: Only fixed effects yields same results as bigglm and static_glm w
  unname(coef(res2)) not equal to unname(c(res1$fixed_effects)).
  4/4 mismatches (average diff: 0.000296)
  [1] -2.328 - -2.329 ==  0.000515
  [2] -0.955 - -0.955 == -0.000128
  [3] -0.113 - -0.113 == -0.000258
  [4]  1.537 -  1.537 ==  0.000283
  
  -- 6. Failure: Gets previous results with exponential model with some fixed term
  `res1` has changed from known value recorded in './previous_results/fixed_terms1.RDS'.
  Component "state_vars": Mean relative difference: 0.4234898
  Component "state_vecs": Mean relative difference: 0.2965541
  Component "fixed_effects": Mean relative difference: 0.02791947
  
  -- 7. Failure: UKF with fixed effects works (@test_fixed_effects_in_M_step.R#165
  `fit` not equal to read_to_test("fixed_terms_UKF").
  Component "state_vars": Mean relative difference: 0.5705951
  Component "state_vecs": Mean relative difference: 0.6679673
  Component "fixed_effects": Mean relative difference: 0.1037982
  
  -- 8. Failure: UKF with fixed effects works (@test_fixed_effects_in_M_step.R#182
  `fit` has changed from known value recorded in './previous_results/fixed_terms_UKF_exp.RDS'.
  Component "state_vars": Mean relative difference: 0.2280174
  Component "state_vecs": Mean relative difference: 0.1850148
  Component "fixed_effects": Mean relative difference: 0.2312696
  
  -- 9. Failure: Only fixed effects yields same results as bigglm and static_glm w
  unname(coef(res2)) not equal to unname(c(res1$fixed_effects)).
  4/4 mismatches (average diff: 0.000322)
  [1] -2.467 - -2.468 ==  0.000531
  [2] -1.350 - -1.350 == -0.000247
  [3]  0.267 -  0.267 == -0.000237
  [4]  1.695 -  1.694 ==  0.000272
  
  -- 10. Failure: logLik for simulated data versus old results (@test_loglike.R#20
  `log_like` not equal to `old`.
  Mean relative difference: 0.09478748
  
  -- 11. Failure: logLik for simulated data versus old results (@test_loglike.R#25
  `log_like` not equal to `old`.
  Mean relative difference: 0.06660364
  
  -- 12. Failure: static glm gives results with exponential that match previous co
  unname(c(tmp$coefficients)) not equal to c(-3.12391042992174, 0.594595319953332, 1.09792435552503, -0.953488060851603).
  4/4 mismatches (average diff: 0.319)
  [1] -3.603 - -3.124 == -0.479
  [2]  0.788 -  0.595 ==  0.193
  [3]  1.489 -  1.098 ==  0.391
  [4] -0.741 - -0.953 ==  0.212
  
  -- 13. Failure: static glm gives results with exponential that match previous co
  unname(c(tmp$coefficients)) not equal to c(...).
  4/4 mismatches (average diff: 0.312)
  [1] -3.2400 - -2.776 == -0.4638
  [2] -0.0277 - -0.373 ==  0.3452
  [3] -0.2166 - -0.262 ==  0.0454
  [4] -1.0911 - -1.486 ==  0.3945
  
  -- 14. Failure: Sim functions gives previous results (@test_test_utils.R#86)  --
  `sim_exp` not equal to read_to_test("util_sim_exp").
  Component "res": Attributes: < Component "row.names": Numeric: lengths (202, 197) differ >
  Component "res": Component "id": Numeric: lengths (202, 197) differ
  Component "res": Component "tstart": Numeric: lengths (202, 197) differ
  Component "res": Component "tstop": Numeric: lengths (202, 197) differ
  Component "res": Component "event": Numeric: lengths (202, 197) differ
  Component "res": Component "x1": Numeric: lengths (202, 197) differ
  Component "res": Component "x2": Numeric: lengths (202, 197) differ
  Component "res": Component "x3": Numeric: lengths (202, 197) differ
  
  == DONE ========================================================================
  Error: Test failures
  Execution halted