Running ‘testthat.R’ [90m/73m]
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.704 0.717 -2.286
   $ sd    : num [1:3] 0.677 0.738 0.763
   $ 0.05q : num [1:3] -2.75 -0.51 -3.6
   $ 0.95q : num [1:3] -0.644 1.951 -1.126
   $ median: num [1:3] -1.709 0.668 -2.258
   $ mode  : num [1:3] -1.9 0.5 -2.3
   - attr(*, "samples")= num [1:10, 1:500] -2.13 -1.69 -2.81 -1.31 1.24 ...
  Starting estimation...
  iteration = : 1
  grad.norm() = 510.088
  pflug_sum = 0, max_pflug_sum = 0
  ---------------------------
  iteration = : 2
  grad.norm() = 493.16
  pflug_sum = 250374, max_pflug_sum = 250374
  ---------------------------
  iteration = : 3
  grad.norm() = 470.799
  pflug_sum = 481868, max_pflug_sum = 481868
  ---------------------------
  iteration = : 4
  grad.norm() = 447.552
  pflug_sum = 692231, max_pflug_sum = 692231
  ---------------------------
  iteration = : 5
  grad.norm() = 424.987
  pflug_sum = 881721, max_pflug_sum = 881721
  ---------------------------
  iteration = : 6
  grad.norm() = 399.384
  pflug_sum = 1.05093e+06, max_pflug_sum = 1.05093e+06
  ---------------------------
  iteration = : 7
  grad.norm() = 370.715
  pflug_sum = 1.19844e+06, max_pflug_sum = 1.19844e+06
  ---------------------------
  iteration = : 8
  grad.norm() = 341.308
  pflug_sum = 1.32365e+06, max_pflug_sum = 1.32365e+06
  ---------------------------
  iteration = : 9
  grad.norm() = 305.724
  pflug_sum = 1.42756e+06, max_pflug_sum = 1.42756e+06
  ---------------------------
  iteration = : 10
  grad.norm() = 273.175
  pflug_sum = 1.51059e+06, max_pflug_sum = 1.51059e+06
  ---------------------------
  Starting posterior sampling...
  Posterior sampling done.
  Average standard deviation of the posterior W: 0.251846560337759
  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).