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.76 0.73 -2.24
   $ sd    : num [1:3] 0.62 0.708 0.765
   $ 0.05q : num [1:3] -2.747 -0.421 -3.436
   $ 0.95q : num [1:3] -0.791 1.918 -0.958
   $ median: num [1:3] -1.775 0.706 -2.259
   $ mode  : num [1:3] -1.7 0.3 -2.3
   - attr(*, "samples")= num [1:10, 1:500] -2.02 -2.08 -2.9 -1.37 2.88 ...
  Starting estimation...
  iteration = : 1
  grad.norm() = 496.674
  pflug_sum = 0, max_pflug_sum = 0
  ---------------------------
  iteration = : 2
  grad.norm() = 478.65
  pflug_sum = 236673, max_pflug_sum = 236673
  ---------------------------
  iteration = : 3
  grad.norm() = 456.572
  pflug_sum = 454651, max_pflug_sum = 454651
  ---------------------------
  iteration = : 4
  grad.norm() = 436.351
  pflug_sum = 653128, max_pflug_sum = 653128
  ---------------------------
  iteration = : 5
  grad.norm() = 408.897
  pflug_sum = 831222, max_pflug_sum = 831222
  ---------------------------
  iteration = : 6
  grad.norm() = 385.411
  pflug_sum = 988085, max_pflug_sum = 988085
  ---------------------------
  iteration = : 7
  grad.norm() = 363.024
  pflug_sum = 1.12599e+06, max_pflug_sum = 1.12599e+06
  ---------------------------
  iteration = : 8
  grad.norm() = 319.018
  pflug_sum = 1.24032e+06, max_pflug_sum = 1.24032e+06
  ---------------------------
  iteration = : 9
  grad.norm() = 282.037
  pflug_sum = 1.32922e+06, max_pflug_sum = 1.32922e+06
  ---------------------------
  iteration = : 10
  grad.norm() = 241.494
  pflug_sum = 1.39603e+06, max_pflug_sum = 1.39603e+06
  ---------------------------
  Starting posterior sampling...
  Posterior sampling done.
  Average standard deviation of the posterior W: 0.217146131899204
  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).