Running ‘testthat.R’ [90m/50m]
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.741 0.689 -2.317
   $ sd    : num [1:3] 0.669 0.731 0.748
   $ 0.05q : num [1:3] -2.845 -0.465 -3.558
   $ 0.95q : num [1:3] -0.655 1.942 -1.133
   $ median: num [1:3] -1.76 0.67 -2.32
   $ mode  : num [1:3] -1.9 0.7 -2.5
   - attr(*, "samples")= num [1:10, 1:500] -3.714 -1.984 -2.386 -0.959 2.98 ...
  Starting estimation...
  iteration = : 1
  grad.norm() = 506.344
  pflug_sum = 0, max_pflug_sum = 0
  ---------------------------
  iteration = : 2
  grad.norm() = 489.099
  pflug_sum = 246740, max_pflug_sum = 246740
  ---------------------------
  iteration = : 3
  grad.norm() = 461.524
  pflug_sum = 471609, max_pflug_sum = 471609
  ---------------------------
  iteration = : 4
  grad.norm() = 444.81
  pflug_sum = 676276, max_pflug_sum = 676276
  ---------------------------
  iteration = : 5
  grad.norm() = 419.511
  pflug_sum = 861992, max_pflug_sum = 861992
  ---------------------------
  iteration = : 6
  grad.norm() = 397.204
  pflug_sum = 1.02818e+06, max_pflug_sum = 1.02818e+06
  ---------------------------
  iteration = : 7
  grad.norm() = 359.187
  pflug_sum = 1.17042e+06, max_pflug_sum = 1.17042e+06
  ---------------------------
  iteration = : 8
  grad.norm() = 333.689
  pflug_sum = 1.28945e+06, max_pflug_sum = 1.28945e+06
  ---------------------------
  iteration = : 9
  grad.norm() = 300.018
  pflug_sum = 1.3867e+06, max_pflug_sum = 1.3867e+06
  ---------------------------
  iteration = : 10
  grad.norm() = 264.793
  pflug_sum = 1.46517e+06, max_pflug_sum = 1.46517e+06
  ---------------------------
  Starting posterior sampling...
  Posterior sampling done.
  Average standard deviation of the posterior W: 0.245865844231801
  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).