Running 'testthat.R' [24s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rater)
  * The rater package uses `Stan` to fit bayesian models.
  * If you are working on a local, multicore CPU with excess RAM please call:
  * options(mc.cores = parallel::detectCores())
  * This will allow Stan to run inference on multiple cores in parallel.
  > 
  > test_check("rater")
  
  SAMPLING FOR MODEL 'dawid_skene' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 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 = 15
  Chain 1:            adapt_window = 75
  Chain 1:            term_buffer = 10
  Chain 1: 
  Chain 1: Iteration:   1 / 200 [  0%]  (Warmup)
  Chain 1: Iteration:  20 / 200 [ 10%]  (Warmup)
  Chain 1: Iteration:  40 / 200 [ 20%]  (Warmup)
  Chain 1: Iteration:  60 / 200 [ 30%]  (Warmup)
  Chain 1: Iteration:  80 / 200 [ 40%]  (Warmup)
  Chain 1: Iteration: 100 / 200 [ 50%]  (Warmup)
  Chain 1: Iteration: 101 / 200 [ 50%]  (Sampling)
  Chain 1: Iteration: 120 / 200 [ 60%]  (Sampling)
  Chain 1: Iteration: 140 / 200 [ 70%]  (Sampling)
  Chain 1: Iteration: 160 / 200 [ 80%]  (Sampling)
  Chain 1: Iteration: 180 / 200 [ 90%]  (Sampling)
  Chain 1: Iteration: 200 / 200 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 1.233 seconds (Warm-up)
  Chain 1:                1.06 seconds (Sampling)
  Chain 1:                2.293 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'hierarchical_dawid_skene' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 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 = 15
  Chain 1:            adapt_window = 75
  Chain 1:            term_buffer = 10
  Chain 1: 
  Chain 1: Iteration:   1 / 200 [  0%]  (Warmup)
  Chain 1: Iteration:  20 / 200 [ 10%]  (Warmup)
  Chain 1: Iteration:  40 / 200 [ 20%]  (Warmup)
  Chain 1: Iteration:  60 / 200 [ 30%]  (Warmup)
  Chain 1: Iteration:  80 / 200 [ 40%]  (Warmup)
  Chain 1: Iteration: 100 / 200 [ 50%]  (Warmup)
  Chain 1: Iteration: 101 / 200 [ 50%]  (Sampling)
  Chain 1: Iteration: 120 / 200 [ 60%]  (Sampling)
  Chain 1: Iteration: 140 / 200 [ 70%]  (Sampling)
  Chain 1: Iteration: 160 / 200 [ 80%]  (Sampling)
  Chain 1: Iteration: 180 / 200 [ 90%]  (Sampling)
  Chain 1: Iteration: 200 / 200 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 1.379 seconds (Warm-up)
  Chain 1:                1.093 seconds (Sampling)
  Chain 1:                2.472 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'class_conditional_dawid_skene' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 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 = 15
  Chain 1:            adapt_window = 75
  Chain 1:            term_buffer = 10
  Chain 1: 
  Chain 1: Iteration:   1 / 200 [  0%]  (Warmup)
  Chain 1: Iteration:  20 / 200 [ 10%]  (Warmup)
  Chain 1: Iteration:  40 / 200 [ 20%]  (Warmup)
  Chain 1: Iteration:  60 / 200 [ 30%]  (Warmup)
  Chain 1: Iteration:  80 / 200 [ 40%]  (Warmup)
  Chain 1: Iteration: 100 / 200 [ 50%]  (Warmup)
  Chain 1: Iteration: 101 / 200 [ 50%]  (Sampling)
  Chain 1: Iteration: 120 / 200 [ 60%]  (Sampling)
  Chain 1: Iteration: 140 / 200 [ 70%]  (Sampling)
  Chain 1: Iteration: 160 / 200 [ 80%]  (Sampling)
  Chain 1: Iteration: 180 / 200 [ 90%]  (Sampling)
  Chain 1: Iteration: 200 / 200 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.718 seconds (Warm-up)
  Chain 1:                0.671 seconds (Sampling)
  Chain 1:                1.389 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'grouped_data' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 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 = 15
  Chain 1:            adapt_window = 75
  Chain 1:            term_buffer = 10
  Chain 1: 
  Chain 1: Iteration:   1 / 200 [  0%]  (Warmup)
  Chain 1: Iteration:  20 / 200 [ 10%]  (Warmup)
  Chain 1: Iteration:  40 / 200 [ 20%]  (Warmup)
  Chain 1: Iteration:  60 / 200 [ 30%]  (Warmup)
  Chain 1: Iteration:  80 / 200 [ 40%]  (Warmup)
  Chain 1: Iteration: 100 / 200 [ 50%]  (Warmup)
  Chain 1: Iteration: 101 / 200 [ 50%]  (Sampling)
  Chain 1: Iteration: 120 / 200 [ 60%]  (Sampling)
  Chain 1: Iteration: 140 / 200 [ 70%]  (Sampling)
  Chain 1: Iteration: 160 / 200 [ 80%]  (Sampling)
  Chain 1: Iteration: 180 / 200 [ 90%]  (Sampling)
  Chain 1: Iteration: 200 / 200 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.202 seconds (Warm-up)
  Chain 1:                0.266 seconds (Sampling)
  Chain 1:                0.468 seconds (Total)
  Chain 1: 
  -- Skip (test_extract.R:180:3): extract_ function are equivalent ---------------
  Reason: TODO: Decide on plain language interface
  
  -- FAILURE (test_fit_class.R:28:3): plot.fit dispatches correctly --------------
  plot(ds_fit, pars = "theta") not equal to `raters_plot`.
  Component "layers": Component 1: Component 11: Component 1: target is not list-like
  Component "layers": Component 2: Component 11: Component 1: target is not list-like
  Component "scales": Component "scales": Component 1: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 18: Component 1: target is not list-like
  Component "scales": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  ...
  
  -- FAILURE (test_fit_class.R:31:3): plot.fit dispatches correctly --------------
  plot(ds_fit, pars = "latent_class") not equal to `latent_class_plot`.
  Component "layers": Component 1: Component 11: Component 1: target is not list-like
  Component "layers": Component 2: Component 11: Component 1: target is not list-like
  Component "scales": Component "scales": Component 1: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 18: Component 1: target is not list-like
  Component "scales": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  ...
  
  -- FAILURE (test_fit_class.R:34:3): plot.fit dispatches correctly --------------
  plot(ds_fit, pars = "pi") not equal to `prevalence_plot`.
  Component "layers": Component 1: Component 11: Component 1: target is not list-like
  Component "layers": Component 2: Component 11: Component 1: target is not list-like
  Component "scales": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "coordinates": Component "super": Component "...": target is not list-like
  ...
  
  -- FAILURE (test_fit_class.R:42:3): can plot multiple parameters ---------------
  plot(ds_fit, pars = c("theta", "pi")) not equal to list(raters_plot, prevalence_plot).
  Component 1: Component 2: Component 1: Component 11: Component 1: target is not list-like
  Component 1: Component 2: Component 2: Component 11: Component 1: target is not list-like
  Component 1: Component 3: Component 1: Component 1: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 2: Component 5: Component 2: Component 18: Component 1: target is not list-like
  Component 1: Component 3: Component 2: Component 1: target is not list-like
  Component 1: Component 3: Component 2: Component 5: Component 1: Component 2: Component 1: target is not list-like
  Component 1: Component 3: Component 2: Component 5: Component 1: Component 2: Component 5: Component 1: Component 2: Component 1: target is not list-like
  Component 1: Component 3: Component 2: Component 5: Component 1: Component 2: Component 5: Component 1: Component 2: Component 5: Component 1: Component 2: Component 1: target is not list-like
  Component 1: Component 3: Component 2: Component 5: Component 1: Component 2: Component 5: Component 1: Component 2: Component 5: Component 1: Component 2: Component 5: Component 1: Component 2: Component 1: target is not list-like
  Component 1: Component 3: Component 2: Component 5: Component 1: Component 2: Component 5: Component 1: Component 2: Component 5: Component 1: Component 2: Component 5: Component 1: Component 2: Component 5: Component 1: Component 2: Component 1: target is not list-like
  ...
  
  -- Skipped tests  --------------------------------------------------------------
  * TODO: Decide on plain language interface (1)
  
  == testthat results  ===========================================================
  FAILURE (test_fit_class.R:28:3): plot.fit dispatches correctly
  FAILURE (test_fit_class.R:31:3): plot.fit dispatches correctly
  FAILURE (test_fit_class.R:34:3): plot.fit dispatches correctly
  FAILURE (test_fit_class.R:42:3): can plot multiple parameters
  
  [ FAIL 4 | WARN 0 | SKIP 1 | PASS 142 ]
  Error: Test failures
  In addition: There were 13 warnings (use warnings() to see them)
  Execution halted