Running ‘testthat.R’ [90m/46m]
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.7
  - 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.719 0.641 -2.252
   $ sd    : num [1:3] 0.698 0.732 0.748
   $ 0.05q : num [1:3] -2.85 -0.539 -3.452
   $ 0.95q : num [1:3] -0.551 1.936 -1.079
   $ median: num [1:3] -1.694 0.652 -2.249
   $ mode  : num [1:3] -1.5 0.7 -2.1
   - attr(*, "samples")= num [1:10, 1:500] -1.14 -1.38 -2.89 -1.22 1.03 ...
  Starting estimation...
  iteration = : 1
  grad.norm() = 495.158
  pflug_sum = 0, max_pflug_sum = 0
  ---------------------------
  iteration = : 2
  grad.norm() = 473.806
  pflug_sum = 234132, max_pflug_sum = 234132
  ---------------------------
  iteration = : 3
  grad.norm() = 456.376
  pflug_sum = 450027, max_pflug_sum = 450027
  ---------------------------
  iteration = : 4
  grad.norm() = 435.314
  pflug_sum = 647740, max_pflug_sum = 647740
  ---------------------------
  iteration = : 5
  grad.norm() = 405.453
  pflug_sum = 822707, max_pflug_sum = 822707
  ---------------------------
  iteration = : 6
  grad.norm() = 382.58
  pflug_sum = 977197, max_pflug_sum = 977197
  ---------------------------
  iteration = : 7
  grad.norm() = 350.22
  pflug_sum = 1.11e+06, max_pflug_sum = 1.11e+06
  ---------------------------
  iteration = : 8
  grad.norm() = 325.002
  pflug_sum = 1.22314e+06, max_pflug_sum = 1.22314e+06
  ---------------------------
  iteration = : 9
  grad.norm() = 296.77
  pflug_sum = 1.31566e+06, max_pflug_sum = 1.31566e+06
  ---------------------------
  iteration = : 10
  grad.norm() = 252.821
  pflug_sum = 1.38743e+06, max_pflug_sum = 1.38743e+06
  ---------------------------
  Starting posterior sampling...
  Posterior sampling done.
  Average standard deviation of the posterior W: 0.313659220953704
  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).