Running ‘testthat.R’ [90m/60m]
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.714 0.601 -2.309
   $ sd    : num [1:3] 0.649 0.709 0.745
   $ 0.05q : num [1:3] -2.848 -0.475 -3.536
   $ 0.95q : num [1:3] -0.665 1.881 -1.053
   $ median: num [1:3] -1.68 0.579 -2.328
   $ mode  : num [1:3] -1.7 0.7 -2.3
   - attr(*, "samples")= num [1:10, 1:500] -1.97 -1.4 -2.86 -1.91 2.13 ...
  Starting estimation...
  iteration = : 1
  grad.norm() = 501.376
  pflug_sum = 0, max_pflug_sum = 0
  ---------------------------
  iteration = : 2
  grad.norm() = 476.742
  pflug_sum = 237746, max_pflug_sum = 237746
  ---------------------------
  iteration = : 3
  grad.norm() = 455.975
  pflug_sum = 454841, max_pflug_sum = 454841
  ---------------------------
  iteration = : 4
  grad.norm() = 432.803
  pflug_sum = 651102, max_pflug_sum = 651102
  ---------------------------
  iteration = : 5
  grad.norm() = 406.72
  pflug_sum = 826007, max_pflug_sum = 826007
  ---------------------------
  iteration = : 6
  grad.norm() = 377.379
  pflug_sum = 978867, max_pflug_sum = 978867
  ---------------------------
  iteration = : 7
  grad.norm() = 343.428
  pflug_sum = 1.10801e+06, max_pflug_sum = 1.10801e+06
  ---------------------------
  iteration = : 8
  grad.norm() = 311.455
  pflug_sum = 1.21419e+06, max_pflug_sum = 1.21419e+06
  ---------------------------
  iteration = : 9
  grad.norm() = 277.077
  pflug_sum = 1.29945e+06, max_pflug_sum = 1.29945e+06
  ---------------------------
  iteration = : 10
  grad.norm() = 234.641
  pflug_sum = 1.36396e+06, max_pflug_sum = 1.36396e+06
  ---------------------------
  Starting posterior sampling...
  Posterior sampling done.
  Average standard deviation of the posterior W: 0.258462916652804
  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).