Running ‘testthat.R’ [0m/90m]
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.74 0.719 -2.233
   $ sd    : num [1:3] 0.633 0.703 0.723
   $ 0.05q : num [1:3] -2.89 -0.379 -3.416
   $ 0.95q : num [1:3] -0.795 1.875 -1.05
   $ median: num [1:3] -1.688 0.694 -2.254
   $ mode  : num [1:3] -1.7 0.7 -2.3
   - attr(*, "samples")= num [1:10, 1:500] -2.249 -1.582 -2.945 -0.409 3.44 ...
  Starting estimation...
  iteration = : 1
  grad.norm() = 504.018
  pflug_sum = 0, max_pflug_sum = 0
  ---------------------------
  iteration = : 2
  grad.norm() = 488.565
  pflug_sum = 245252, max_pflug_sum = 245252
  ---------------------------
  iteration = : 3
  grad.norm() = 468.508
  pflug_sum = 473280, max_pflug_sum = 473280
  ---------------------------
  iteration = : 4
  grad.norm() = 448.045
  pflug_sum = 681879, max_pflug_sum = 681879
  ---------------------------
  iteration = : 5
  grad.norm() = 428.313
  pflug_sum = 873098, max_pflug_sum = 873098
  ---------------------------
  iteration = : 6
  grad.norm() = 391.24
  pflug_sum = 1.03873e+06, max_pflug_sum = 1.03873e+06
  ---------------------------
  iteration = : 7
  grad.norm() = 363.664
  pflug_sum = 1.17978e+06, max_pflug_sum = 1.17978e+06
  ---------------------------
  iteration = : 8
  grad.norm() = 327.604
  pflug_sum = 1.29842e+06, max_pflug_sum = 1.29842e+06
  ---------------------------
  iteration = : 9
  grad.norm() = 298.244
  pflug_sum = 1.39572e+06, max_pflug_sum = 1.39572e+06
  ---------------------------
  iteration = : 10
  grad.norm() = 277.154
  pflug_sum = 1.4771e+06, max_pflug_sum = 1.4771e+06
  ---------------------------
  Starting posterior sampling...
  Posterior sampling done.
  Average standard deviation of the posterior W: 0.256823299160494
  Use ngme_post_samples() to access posterior samples and ngme_result() to access latent model parameters.
  OMP: Warning #96: Cannot form a team with 28 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).