Running ‘testthat.R’ [90m/47m]
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.73 0.74 -2.22
   $ sd    : num [1:3] 0.658 0.744 0.755
   $ 0.05q : num [1:3] -2.797 -0.381 -3.442
   $ 0.95q : num [1:3] -0.631 1.937 -0.974
   $ median: num [1:3] -1.725 0.723 -2.183
   $ mode  : num [1:3] -1.7 0.5 -1.9
   - attr(*, "samples")= num [1:10, 1:500] -1.457 -1.861 -1.334 0.747 4.733 ...
  Starting estimation...
  iteration = : 1
  grad.norm() = 522.024
  pflug_sum = 0, max_pflug_sum = 0
  ---------------------------
  iteration = : 2
  grad.norm() = 495.827
  pflug_sum = 257632, max_pflug_sum = 257632
  ---------------------------
  iteration = : 3
  grad.norm() = 478.068
  pflug_sum = 492576, max_pflug_sum = 492576
  ---------------------------
  iteration = : 4
  grad.norm() = 459.136
  pflug_sum = 711410, max_pflug_sum = 711410
  ---------------------------
  iteration = : 5
  grad.norm() = 439.465
  pflug_sum = 912593, max_pflug_sum = 912593
  ---------------------------
  iteration = : 6
  grad.norm() = 415.935
  pflug_sum = 1.0947e+06, max_pflug_sum = 1.0947e+06
  ---------------------------
  iteration = : 7
  grad.norm() = 383.506
  pflug_sum = 1.25372e+06, max_pflug_sum = 1.25372e+06
  ---------------------------
  iteration = : 8
  grad.norm() = 358.044
  pflug_sum = 1.3903e+06, max_pflug_sum = 1.3903e+06
  ---------------------------
  iteration = : 9
  grad.norm() = 323.646
  pflug_sum = 1.50456e+06, max_pflug_sum = 1.50456e+06
  ---------------------------
  iteration = : 10
  grad.norm() = 290.897
  pflug_sum = 1.59819e+06, max_pflug_sum = 1.59819e+06
  ---------------------------
  Starting posterior sampling...
  Posterior sampling done.
  Average standard deviation of the posterior W: 0.242826665765788
  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).