Running ‘testthat.R’ [90m/74m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > 
  > test_check("ngme2")
  Loading required package: ngme2
  This is ngme2 of version 0.9.8
  - See our homepage: https://davidbolin.github.io/ngme2 for more details.
  
  Attaching package: 'ngme2'
  
  The following object is masked from 'package:stats':
  
      ar
  
  List of 6
   $ mean  : num [1:3] -1.664 0.702 -2.306
   $ sd    : num [1:3] 0.65 0.77 0.743
   $ 0.05q : num [1:3] -2.776 -0.492 -3.584
   $ 0.95q : num [1:3] -0.608 2.112 -1.194
   $ median: num [1:3] -1.658 0.672 -2.29
   $ mode  : num [1:3] -1.9 0.7 -2.3
   - attr(*, "samples")= num [1:10, 1:500] -1.676 -1.789 -0.177 0.24 2.923 ...
  Starting estimation...
  iteration = : 1
  grad.norm() = 515.743
  pflug_sum = 0, max_pflug_sum = 0
  ---------------------------
  iteration = : 2
  grad.norm() = 496.582
  pflug_sum = 255499, max_pflug_sum = 255499
  ---------------------------
  iteration = : 3
  grad.norm() = 481.019
  pflug_sum = 493217, max_pflug_sum = 493217
  ---------------------------
  iteration = : 4
  grad.norm() = 459.842
  pflug_sum = 711874, max_pflug_sum = 711874
  ---------------------------
  iteration = : 5
  grad.norm() = 437.448
  pflug_sum = 912175, max_pflug_sum = 912175
  ---------------------------
  iteration = : 6
  grad.norm() = 409.836
  pflug_sum = 1.09082e+06, max_pflug_sum = 1.09082e+06
  ---------------------------
  iteration = : 7
  grad.norm() = 383.514
  pflug_sum = 1.24665e+06, max_pflug_sum = 1.24665e+06
  ---------------------------
  iteration = : 8
  grad.norm() = 351.337
  pflug_sum = 1.38029e+06, max_pflug_sum = 1.38029e+06
  ---------------------------
  iteration = : 9
  grad.norm() = 323.118
  pflug_sum = 1.49345e+06, max_pflug_sum = 1.49345e+06
  ---------------------------
  iteration = : 10
  grad.norm() = 285.572
  pflug_sum = 1.58531e+06, max_pflug_sum = 1.58531e+06
  ---------------------------
  Starting posterior sampling...
  Posterior sampling done.
  Average standard deviation of the posterior W: 0.269770654882138
  Use ngme_post_samples() to access posterior samples and ngme_result() to access latent model parameters.
  OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
  OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).