Running ‘testthat.R’ [13s/17s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(hmde)
  > 
  > test_check("hmde")
  
  SAMPLING FOR MODEL 'constant_single_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 1.7e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.17 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration:  1 / 20 [  5%]  (Warmup)
  Chain 1: Iteration:  2 / 20 [ 10%]  (Warmup)
  Chain 1: Iteration:  4 / 20 [ 20%]  (Warmup)
  Chain 1: Iteration:  6 / 20 [ 30%]  (Warmup)
  Chain 1: Iteration:  8 / 20 [ 40%]  (Warmup)
  Chain 1: Iteration: 10 / 20 [ 50%]  (Warmup)
  Chain 1: Iteration: 11 / 20 [ 55%]  (Sampling)
  Chain 1: Iteration: 12 / 20 [ 60%]  (Sampling)
  Chain 1: Iteration: 14 / 20 [ 70%]  (Sampling)
  Chain 1: Iteration: 16 / 20 [ 80%]  (Sampling)
  Chain 1: Iteration: 18 / 20 [ 90%]  (Sampling)
  Chain 1: Iteration: 20 / 20 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0 seconds (Warm-up)
  Chain 1:                0 seconds (Sampling)
  Chain 1:                0 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'canham_multi_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.000915 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 9.15 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration:  1 / 20 [  5%]  (Warmup)
  Chain 1: Iteration:  2 / 20 [ 10%]  (Warmup)
  Chain 1: Iteration:  4 / 20 [ 20%]  (Warmup)
  Chain 1: Iteration:  6 / 20 [ 30%]  (Warmup)
  Chain 1: Iteration:  8 / 20 [ 40%]  (Warmup)
  Chain 1: Iteration: 10 / 20 [ 50%]  (Warmup)
  Chain 1: Iteration: 11 / 20 [ 55%]  (Sampling)
  Chain 1: Iteration: 12 / 20 [ 60%]  (Sampling)
  Chain 1: Iteration: 14 / 20 [ 70%]  (Sampling)
  Chain 1: Iteration: 16 / 20 [ 80%]  (Sampling)
  Chain 1: Iteration: 18 / 20 [ 90%]  (Sampling)
  Chain 1: Iteration: 20 / 20 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.665 seconds (Warm-up)
  Chain 1:                0.141 seconds (Sampling)
  Chain 1:                0.806 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'canham_multi_ind' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.000736 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 7.36 seconds.
  Chain 2: Adjust your expectations accordingly!
  Chain 2: 
  Chain 2: 
  Chain 2: WARNING: No variance estimation is
  Chain 2:          performed for num_warmup < 20
  Chain 2: 
  Chain 2: Iteration:  1 / 20 [  5%]  (Warmup)
  Chain 2: Iteration:  2 / 20 [ 10%]  (Warmup)
  Chain 2: Iteration:  4 / 20 [ 20%]  (Warmup)
  Chain 2: Iteration:  6 / 20 [ 30%]  (Warmup)
  Chain 2: Iteration:  8 / 20 [ 40%]  (Warmup)
  Chain 2: Iteration: 10 / 20 [ 50%]  (Warmup)
  Chain 2: Iteration: 11 / 20 [ 55%]  (Sampling)
  Chain 2: Iteration: 12 / 20 [ 60%]  (Sampling)
  Chain 2: Iteration: 14 / 20 [ 70%]  (Sampling)
  Chain 2: Iteration: 16 / 20 [ 80%]  (Sampling)
  Chain 2: Iteration: 18 / 20 [ 90%]  (Sampling)
  Chain 2: Iteration: 20 / 20 [100%]  (Sampling)
  Chain 2: 
  Chain 2:  Elapsed Time: 0.243 seconds (Warm-up)
  Chain 2:                0.064 seconds (Sampling)
  Chain 2:                0.307 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'constant_single_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 1.4e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.14 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: Iteration:   1 / 1000 [  0%]  (Warmup)
  Chain 1: Iteration: 100 / 1000 [ 10%]  (Warmup)
  Chain 1: Iteration: 200 / 1000 [ 20%]  (Warmup)
  Chain 1: Iteration: 300 / 1000 [ 30%]  (Warmup)
  Chain 1: Iteration: 400 / 1000 [ 40%]  (Warmup)
  Chain 1: Iteration: 500 / 1000 [ 50%]  (Warmup)
  Chain 1: Iteration: 501 / 1000 [ 50%]  (Sampling)
  Chain 1: Iteration: 600 / 1000 [ 60%]  (Sampling)
  Chain 1: Iteration: 700 / 1000 [ 70%]  (Sampling)
  Chain 1: Iteration: 800 / 1000 [ 80%]  (Sampling)
  Chain 1: Iteration: 900 / 1000 [ 90%]  (Sampling)
  Chain 1: Iteration: 1000 / 1000 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.253 seconds (Warm-up)
  Chain 1:                0.241 seconds (Sampling)
  Chain 1:                0.494 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'constant_multi_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 1.7e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.17 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration:  1 / 20 [  5%]  (Warmup)
  Chain 1: Iteration:  2 / 20 [ 10%]  (Warmup)
  Chain 1: Iteration:  4 / 20 [ 20%]  (Warmup)
  Chain 1: Iteration:  6 / 20 [ 30%]  (Warmup)
  Chain 1: Iteration:  8 / 20 [ 40%]  (Warmup)
  Chain 1: Iteration: 10 / 20 [ 50%]  (Warmup)
  Chain 1: Iteration: 11 / 20 [ 55%]  (Sampling)
  Chain 1: Iteration: 12 / 20 [ 60%]  (Sampling)
  Chain 1: Iteration: 14 / 20 [ 70%]  (Sampling)
  Chain 1: Iteration: 16 / 20 [ 80%]  (Sampling)
  Chain 1: Iteration: 18 / 20 [ 90%]  (Sampling)
  Chain 1: Iteration: 20 / 20 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.002 seconds (Warm-up)
  Chain 1:                0.001 seconds (Sampling)
  Chain 1:                0.003 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'constant_multi_ind' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 8e-06 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.08 seconds.
  Chain 2: Adjust your expectations accordingly!
  Chain 2: 
  Chain 2: 
  Chain 2: WARNING: No variance estimation is
  Chain 2:          performed for num_warmup < 20
  Chain 2: 
  Chain 2: Iteration:  1 / 20 [  5%]  (Warmup)
  Chain 2: Iteration:  2 / 20 [ 10%]  (Warmup)
  Chain 2: Iteration:  4 / 20 [ 20%]  (Warmup)
  Chain 2: Iteration:  6 / 20 [ 30%]  (Warmup)
  Chain 2: Iteration:  8 / 20 [ 40%]  (Warmup)
  Chain 2: Iteration: 10 / 20 [ 50%]  (Warmup)
  Chain 2: Iteration: 11 / 20 [ 55%]  (Sampling)
  Chain 2: Iteration: 12 / 20 [ 60%]  (Sampling)
  Chain 2: Iteration: 14 / 20 [ 70%]  (Sampling)
  Chain 2: Iteration: 16 / 20 [ 80%]  (Sampling)
  Chain 2: Iteration: 18 / 20 [ 90%]  (Sampling)
  Chain 2: Iteration: 20 / 20 [100%]  (Sampling)
  Chain 2: 
  Chain 2:  Elapsed Time: 0.003 seconds (Warm-up)
  Chain 2:                0.001 seconds (Sampling)
  Chain 2:                0.004 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'vb_single_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 2.5e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.25 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: Iteration:   1 / 1000 [  0%]  (Warmup)
  Chain 1: Iteration: 100 / 1000 [ 10%]  (Warmup)
  Chain 1: Iteration: 200 / 1000 [ 20%]  (Warmup)
  Chain 1: Iteration: 300 / 1000 [ 30%]  (Warmup)
  Chain 1: Iteration: 400 / 1000 [ 40%]  (Warmup)
  Chain 1: Iteration: 500 / 1000 [ 50%]  (Warmup)
  Chain 1: Iteration: 501 / 1000 [ 50%]  (Sampling)
  Chain 1: Iteration: 600 / 1000 [ 60%]  (Sampling)
  Chain 1: Iteration: 700 / 1000 [ 70%]  (Sampling)
  Chain 1: Iteration: 800 / 1000 [ 80%]  (Sampling)
  Chain 1: Iteration: 900 / 1000 [ 90%]  (Sampling)
  Chain 1: Iteration: 1000 / 1000 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 1.04 seconds (Warm-up)
  Chain 1:                1.269 seconds (Sampling)
  Chain 1:                2.309 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'vb_multi_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 4.4e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.44 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration:  1 / 20 [  5%]  (Warmup)
  Chain 1: Iteration:  2 / 20 [ 10%]  (Warmup)
  Chain 1: Iteration:  4 / 20 [ 20%]  (Warmup)
  Chain 1: Iteration:  6 / 20 [ 30%]  (Warmup)
  Chain 1: Iteration:  8 / 20 [ 40%]  (Warmup)
  Chain 1: Iteration: 10 / 20 [ 50%]  (Warmup)
  Chain 1: Iteration: 11 / 20 [ 55%]  (Sampling)
  Chain 1: Iteration: 12 / 20 [ 60%]  (Sampling)
  Chain 1: Iteration: 14 / 20 [ 70%]  (Sampling)
  Chain 1: Iteration: 16 / 20 [ 80%]  (Sampling)
  Chain 1: Iteration: 18 / 20 [ 90%]  (Sampling)
  Chain 1: Iteration: 20 / 20 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.017 seconds (Warm-up)
  Chain 1:                0.073 seconds (Sampling)
  Chain 1:                0.09 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'vb_multi_ind' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 3e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.3 seconds.
  Chain 2: Adjust your expectations accordingly!
  Chain 2: 
  Chain 2: 
  Chain 2: WARNING: No variance estimation is
  Chain 2:          performed for num_warmup < 20
  Chain 2: 
  Chain 2: Iteration:  1 / 20 [  5%]  (Warmup)
  Chain 2: Iteration:  2 / 20 [ 10%]  (Warmup)
  Chain 2: Iteration:  4 / 20 [ 20%]  (Warmup)
  Chain 2: Iteration:  6 / 20 [ 30%]  (Warmup)
  Chain 2: Iteration:  8 / 20 [ 40%]  (Warmup)
  Chain 2: Iteration: 10 / 20 [ 50%]  (Warmup)
  Chain 2: Iteration: 11 / 20 [ 55%]  (Sampling)
  Chain 2: Iteration: 12 / 20 [ 60%]  (Sampling)
  Chain 2: Iteration: 14 / 20 [ 70%]  (Sampling)
  Chain 2: Iteration: 16 / 20 [ 80%]  (Sampling)
  Chain 2: Iteration: 18 / 20 [ 90%]  (Sampling)
  Chain 2: Iteration: 20 / 20 [100%]  (Sampling)
  Chain 2: 
  Chain 2:  Elapsed Time: 0.002 seconds (Warm-up)
  Chain 2:                0.014 seconds (Sampling)
  Chain 2:                0.016 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'constant_multi_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 4.7e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.47 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: There aren't enough warmup iterations to fit the
  Chain 1:          three stages of adaptation as currently configured.
  Chain 1:          Reducing each adaptation stage to 15%/75%/10% of
  Chain 1:          the given number of warmup iterations:
  Chain 1:            init_buffer = 3
  Chain 1:            adapt_window = 20
  Chain 1:            term_buffer = 2
  Chain 1: 
  Chain 1: Iteration:  1 / 50 [  2%]  (Warmup)
  Chain 1: Iteration:  5 / 50 [ 10%]  (Warmup)
  Chain 1: Iteration: 10 / 50 [ 20%]  (Warmup)
  Chain 1: Iteration: 15 / 50 [ 30%]  (Warmup)
  Chain 1: Iteration: 20 / 50 [ 40%]  (Warmup)
  Chain 1: Iteration: 25 / 50 [ 50%]  (Warmup)
  Chain 1: Iteration: 26 / 50 [ 52%]  (Sampling)
  Chain 1: Iteration: 30 / 50 [ 60%]  (Sampling)
  Chain 1: Iteration: 35 / 50 [ 70%]  (Sampling)
  Chain 1: Iteration: 40 / 50 [ 80%]  (Sampling)
  Chain 1: Iteration: 45 / 50 [ 90%]  (Sampling)
  Chain 1: Iteration: 50 / 50 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.241 seconds (Warm-up)
  Chain 1:                0.093 seconds (Sampling)
  Chain 1:                0.334 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'constant_multi_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 4.1e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.41 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: There aren't enough warmup iterations to fit the
  Chain 1:          three stages of adaptation as currently configured.
  Chain 1:          Reducing each adaptation stage to 15%/75%/10% of
  Chain 1:          the given number of warmup iterations:
  Chain 1:            init_buffer = 3
  Chain 1:            adapt_window = 20
  Chain 1:            term_buffer = 2
  Chain 1: 
  Chain 1: Iteration:  1 / 50 [  2%]  (Warmup)
  Chain 1: Iteration:  5 / 50 [ 10%]  (Warmup)
  Chain 1: Iteration: 10 / 50 [ 20%]  (Warmup)
  Chain 1: Iteration: 15 / 50 [ 30%]  (Warmup)
  Chain 1: Iteration: 20 / 50 [ 40%]  (Warmup)
  Chain 1: Iteration: 25 / 50 [ 50%]  (Warmup)
  Chain 1: Iteration: 26 / 50 [ 52%]  (Sampling)
  Chain 1: Iteration: 30 / 50 [ 60%]  (Sampling)
  Chain 1: Iteration: 35 / 50 [ 70%]  (Sampling)
  Chain 1: Iteration: 40 / 50 [ 80%]  (Sampling)
  Chain 1: Iteration: 45 / 50 [ 90%]  (Sampling)
  Chain 1: Iteration: 50 / 50 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.142 seconds (Warm-up)
  Chain 1:                0.09 seconds (Sampling)
  Chain 1:                0.232 seconds (Total)
  Chain 1: 
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 85 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-hmde_plot_de_pieces.R:17:3'): Execution and output: plot_de_pieces function ──
  `plot` does not have names.
  ── Failure ('test-hmde_plot_de_pieces.R:21:3'): Execution and output: plot_de_pieces function ──
  `plot` has type 'object', not 'list'.
  ── Failure ('test-hmde_plot_obs_est_inds.R:5:3'): Execution and output: plot_obs_est_inds function ──
  `plot` does not have names.
  ── Failure ('test-hmde_plot_obs_est_inds.R:9:3'): Execution and output: plot_obs_est_inds function ──
  `plot` has type 'object', not 'list'.
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 85 ]
  Error: Test failures
  Execution halted