Running 'testthat.R' [32s]
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 0.000102 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.02 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.004656 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 46.56 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: 6.227 seconds (Warm-up)
  Chain 1:                0.179 seconds (Sampling)
  Chain 1:                6.406 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'canham_multi_ind' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0.002386 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 23.86 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: 4.457 seconds (Warm-up)
  Chain 2:                0.068 seconds (Sampling)
  Chain 2:                4.525 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'constant_single_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 1.2e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.12 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.528 seconds (Warm-up)
  Chain 1:                1.388 seconds (Sampling)
  Chain 1:                1.916 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'constant_multi_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 3.6e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.36 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.006 seconds (Warm-up)
  Chain 1:                0.026 seconds (Sampling)
  Chain 1:                0.032 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'constant_multi_ind' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 2.4e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.24 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.01 seconds (Warm-up)
  Chain 2:                0.008 seconds (Sampling)
  Chain 2:                0.018 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'vb_single_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.000385 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 3.85 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.38 seconds (Warm-up)
  Chain 1:                1.79 seconds (Sampling)
  Chain 1:                3.17 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'vb_multi_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 6e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.6 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.011 seconds (Warm-up)
  Chain 1:                0.01 seconds (Sampling)
  Chain 1:                0.021 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.014 seconds (Warm-up)
  Chain 2:                0.002 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.9e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.49 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.109 seconds (Warm-up)
  Chain 1:                0.131 seconds (Sampling)
  Chain 1:                0.24 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'constant_multi_ind' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 4.8e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.48 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.111 seconds (Warm-up)
  Chain 1:                0.09 seconds (Sampling)
  Chain 1:                0.201 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