Running ‘testthat.R’ [90m/49m]
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.754 0.796 -2.285
   $ sd    : num [1:3] 0.659 0.76 0.751
   $ 0.05q : num [1:3] -2.833 -0.367 -3.523
   $ 0.95q : num [1:3] -0.701 2.118 -1.04
   $ median: num [1:3] -1.79 0.76 -2.27
   $ mode  : num [1:3] -1.9 0.7 -2.5
   - attr(*, "samples")= num [1:10, 1:500] -1.509 -1.437 -2.191 -0.741 2.754 ...
  Starting estimation...
  iteration = : 1
  grad.norm() = 508.372
  pflug_sum = 0, max_pflug_sum = 0
  ---------------------------
  iteration = : 2
  grad.norm() = 485.66
  pflug_sum = 246183, max_pflug_sum = 246183
  ---------------------------
  iteration = : 3
  grad.norm() = 470.815
  pflug_sum = 474408, max_pflug_sum = 474408
  ---------------------------
  iteration = : 4
  grad.norm() = 457.908
  pflug_sum = 688877, max_pflug_sum = 688877
  ---------------------------
  iteration = : 5
  grad.norm() = 426.901
  pflug_sum = 883712, max_pflug_sum = 883712
  ---------------------------
  iteration = : 6
  grad.norm() = 400.965
  pflug_sum = 1.05382e+06, max_pflug_sum = 1.05382e+06
  ---------------------------
  iteration = : 7
  grad.norm() = 381.34
  pflug_sum = 1.20055e+06, max_pflug_sum = 1.20055e+06
  ---------------------------
  iteration = : 8
  grad.norm() = 348.689
  pflug_sum = 1.33021e+06, max_pflug_sum = 1.33021e+06
  ---------------------------
  iteration = : 9
  grad.norm() = 309.334
  pflug_sum = 1.4374e+06, max_pflug_sum = 1.4374e+06
  ---------------------------
  iteration = : 10
  grad.norm() = 275.59
  pflug_sum = 1.52032e+06, max_pflug_sum = 1.52032e+06
  ---------------------------
  Starting posterior sampling...
  Posterior sampling done.
  Average standard deviation of the posterior W: 0.373235640695006
  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).