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.718 0.652 -2.284
   $ sd    : num [1:3] 0.642 0.712 0.746
   $ 0.05q : num [1:3] -2.773 -0.479 -3.519
   $ 0.95q : num [1:3] -0.699 1.923 -1.114
   $ median: num [1:3] -1.716 0.636 -2.259
   $ mode  : num [1:3] -1.9 0.7 -2.1
   - attr(*, "samples")= num [1:10, 1:500] -2.77 -2.16 -3.4 -1.05 3.04 ...
  Starting estimation...
  iteration = : 1
  grad.norm() = 514.059
  pflug_sum = 0, max_pflug_sum = 0
  ---------------------------
  iteration = : 2
  grad.norm() = 494.266
  pflug_sum = 253739, max_pflug_sum = 253739
  ---------------------------
  iteration = : 3
  grad.norm() = 484.652
  pflug_sum = 493028, max_pflug_sum = 493028
  ---------------------------
  iteration = : 4
  grad.norm() = 461.388
  pflug_sum = 716018, max_pflug_sum = 716018
  ---------------------------
  iteration = : 5
  grad.norm() = 437.352
  pflug_sum = 916828, max_pflug_sum = 916828
  ---------------------------
  iteration = : 6
  grad.norm() = 413.565
  pflug_sum = 1.09721e+06, max_pflug_sum = 1.09721e+06
  ---------------------------
  iteration = : 7
  grad.norm() = 392.432
  pflug_sum = 1.25837e+06, max_pflug_sum = 1.25837e+06
  ---------------------------
  iteration = : 8
  grad.norm() = 363.693
  pflug_sum = 1.39961e+06, max_pflug_sum = 1.39961e+06
  ---------------------------
  iteration = : 9
  grad.norm() = 328.856
  pflug_sum = 1.51821e+06, max_pflug_sum = 1.51821e+06
  ---------------------------
  iteration = : 10
  grad.norm() = 294.028
  pflug_sum = 1.61409e+06, max_pflug_sum = 1.61409e+06
  ---------------------------
  Starting posterior sampling...
  Posterior sampling done.
  Average standard deviation of the posterior W: 0.286592767834589
  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).