Running ‘testthat.R’ [91m/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] -2 0.887 -1.798
   $ sd    : num [1:3] 0.829 0.912 0.976
   $ 0.05q : num [1:3] -3.355 -0.581 -3.415
   $ 0.95q : num [1:3] -0.734 2.314 -0.119
   $ median: num [1:3] -1.984 0.888 -1.785
   $ mode  : num [1:3] -1.9 1.3 -1.7
   - attr(*, "samples")= num [1:10, 1:500] -3.22 -3.51 -2.47 -1.14 2.05 ...
  Starting estimation...
  iteration = : 1
  grad.norm() = 518.507
  pflug_sum = 0, max_pflug_sum = 0
  ---------------------------
  iteration = : 2
  grad.norm() = 497.538
  pflug_sum = 257724, max_pflug_sum = 257724
  ---------------------------
  iteration = : 3
  grad.norm() = 478.134
  pflug_sum = 494991, max_pflug_sum = 494991
  ---------------------------
  iteration = : 4
  grad.norm() = 460.648
  pflug_sum = 714903, max_pflug_sum = 714903
  ---------------------------
  iteration = : 5
  grad.norm() = 433.228
  pflug_sum = 914207, max_pflug_sum = 914207
  ---------------------------
  iteration = : 6
  grad.norm() = 413.885
  pflug_sum = 1.09323e+06, max_pflug_sum = 1.09323e+06
  ---------------------------
  iteration = : 7
  grad.norm() = 384.327
  pflug_sum = 1.2514e+06, max_pflug_sum = 1.2514e+06
  ---------------------------
  iteration = : 8
  grad.norm() = 353.573
  pflug_sum = 1.3847e+06, max_pflug_sum = 1.3847e+06
  ---------------------------
  iteration = : 9
  grad.norm() = 321.276
  pflug_sum = 1.49645e+06, max_pflug_sum = 1.49645e+06
  ---------------------------
  iteration = : 10
  grad.norm() = 285.554
  pflug_sum = 1.58754e+06, max_pflug_sum = 1.58754e+06
  ---------------------------
  Starting posterior sampling...
  Posterior sampling done.
  Average standard deviation of the posterior W: 0.274808031564465
  Use ngme_post_samples() to access posterior samples and ngme_result() to access latent model parameters.