Running ‘testthat.R’ [46s/67s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidyposterior)
  > 
  > test_check("tidyposterior")
  
  Attaching package: 'rsample'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.000982 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 9.82 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 = 7
  Chain 1:            adapt_window = 38
  Chain 1:            term_buffer = 5
  Chain 1: 
  Chain 1: Iteration:  1 / 100 [  1%]  (Warmup)
  Chain 1: Iteration: 10 / 100 [ 10%]  (Warmup)
  Chain 1: Iteration: 20 / 100 [ 20%]  (Warmup)
  Chain 1: Iteration: 30 / 100 [ 30%]  (Warmup)
  Chain 1: Iteration: 40 / 100 [ 40%]  (Warmup)
  Chain 1: Iteration: 50 / 100 [ 50%]  (Warmup)
  Chain 1: Iteration: 51 / 100 [ 51%]  (Sampling)
  Chain 1: Iteration: 60 / 100 [ 60%]  (Sampling)
  Chain 1: Iteration: 70 / 100 [ 70%]  (Sampling)
  Chain 1: Iteration: 80 / 100 [ 80%]  (Sampling)
  Chain 1: Iteration: 90 / 100 [ 90%]  (Sampling)
  Chain 1: Iteration: 100 / 100 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.22 seconds (Warm-up)
  Chain 1:                0.254 seconds (Sampling)
  Chain 1:                0.474 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 5.3e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.53 seconds.
  Chain 2: Adjust your expectations accordingly!
  Chain 2: 
  Chain 2: 
  Chain 2: WARNING: There aren't enough warmup iterations to fit the
  Chain 2:          three stages of adaptation as currently configured.
  Chain 2:          Reducing each adaptation stage to 15%/75%/10% of
  Chain 2:          the given number of warmup iterations:
  Chain 2:            init_buffer = 7
  Chain 2:            adapt_window = 38
  Chain 2:            term_buffer = 5
  Chain 2: 
  Chain 2: Iteration:  1 / 100 [  1%]  (Warmup)
  Chain 2: Iteration: 10 / 100 [ 10%]  (Warmup)
  Chain 2: Iteration: 20 / 100 [ 20%]  (Warmup)
  Chain 2: Iteration: 30 / 100 [ 30%]  (Warmup)
  Chain 2: Iteration: 40 / 100 [ 40%]  (Warmup)
  Chain 2: Iteration: 50 / 100 [ 50%]  (Warmup)
  Chain 2: Iteration: 51 / 100 [ 51%]  (Sampling)
  Chain 2: Iteration: 60 / 100 [ 60%]  (Sampling)
  Chain 2: Iteration: 70 / 100 [ 70%]  (Sampling)
  Chain 2: Iteration: 80 / 100 [ 80%]  (Sampling)
  Chain 2: Iteration: 90 / 100 [ 90%]  (Sampling)
  Chain 2: Iteration: 100 / 100 [100%]  (Sampling)
  Chain 2: 
  Chain 2:  Elapsed Time: 0.269 seconds (Warm-up)
  Chain 2:                0.226 seconds (Sampling)
  Chain 2:                0.495 seconds (Total)
  Chain 2: 
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 6.7e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.67 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.106 seconds (Warm-up)
  Chain 1:                0.067 seconds (Sampling)
  Chain 1:                0.173 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 4.2e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.42 seconds.
  Chain 2: Adjust your expectations accordingly!
  Chain 2: 
  Chain 2: 
  Chain 2: WARNING: There aren't enough warmup iterations to fit the
  Chain 2:          three stages of adaptation as currently configured.
  Chain 2:          Reducing each adaptation stage to 15%/75%/10% of
  Chain 2:          the given number of warmup iterations:
  Chain 2:            init_buffer = 3
  Chain 2:            adapt_window = 20
  Chain 2:            term_buffer = 2
  Chain 2: 
  Chain 2: Iteration:  1 / 50 [  2%]  (Warmup)
  Chain 2: Iteration:  5 / 50 [ 10%]  (Warmup)
  Chain 2: Iteration: 10 / 50 [ 20%]  (Warmup)
  Chain 2: Iteration: 15 / 50 [ 30%]  (Warmup)
  Chain 2: Iteration: 20 / 50 [ 40%]  (Warmup)
  Chain 2: Iteration: 25 / 50 [ 50%]  (Warmup)
  Chain 2: Iteration: 26 / 50 [ 52%]  (Sampling)
  Chain 2: Iteration: 30 / 50 [ 60%]  (Sampling)
  Chain 2: Iteration: 35 / 50 [ 70%]  (Sampling)
  Chain 2: Iteration: 40 / 50 [ 80%]  (Sampling)
  Chain 2: Iteration: 45 / 50 [ 90%]  (Sampling)
  Chain 2: Iteration: 50 / 50 [100%]  (Sampling)
  Chain 2: 
  Chain 2:  Elapsed Time: 0.163 seconds (Warm-up)
  Chain 2:                0.129 seconds (Sampling)
  Chain 2:                0.292 seconds (Total)
  Chain 2: 
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 6.9e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.69 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.028 seconds (Warm-up)
  Chain 1:                0.03 seconds (Sampling)
  Chain 1:                0.058 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 4.6e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.46 seconds.
  Chain 2: Adjust your expectations accordingly!
  Chain 2: 
  Chain 2: 
  Chain 2: WARNING: There aren't enough warmup iterations to fit the
  Chain 2:          three stages of adaptation as currently configured.
  Chain 2:          Reducing each adaptation stage to 15%/75%/10% of
  Chain 2:          the given number of warmup iterations:
  Chain 2:            init_buffer = 3
  Chain 2:            adapt_window = 20
  Chain 2:            term_buffer = 2
  Chain 2: 
  Chain 2: Iteration:  1 / 50 [  2%]  (Warmup)
  Chain 2: Iteration:  5 / 50 [ 10%]  (Warmup)
  Chain 2: Iteration: 10 / 50 [ 20%]  (Warmup)
  Chain 2: Iteration: 15 / 50 [ 30%]  (Warmup)
  Chain 2: Iteration: 20 / 50 [ 40%]  (Warmup)
  Chain 2: Iteration: 25 / 50 [ 50%]  (Warmup)
  Chain 2: Iteration: 26 / 50 [ 52%]  (Sampling)
  Chain 2: Iteration: 30 / 50 [ 60%]  (Sampling)
  Chain 2: Iteration: 35 / 50 [ 70%]  (Sampling)
  Chain 2: Iteration: 40 / 50 [ 80%]  (Sampling)
  Chain 2: Iteration: 45 / 50 [ 90%]  (Sampling)
  Chain 2: Iteration: 50 / 50 [100%]  (Sampling)
  Chain 2: 
  Chain 2:  Elapsed Time: 0.022 seconds (Warm-up)
  Chain 2:                0.046 seconds (Sampling)
  Chain 2:                0.068 seconds (Total)
  Chain 2: 
  [ FAIL 1 | WARN 32 | SKIP 5 | PASS 128 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (5): 'test_perf_mod.R:97:3', 'test_perf_mod.R:109:3',
    'test_perf_mod.R:127:3', 'test_perf_mod.R:142:3', 'test_perf_mod.R:164:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_perf_mod.R:260:3'): workflow sets ────────────────────────────
  as.character(p_tidy$labels$weight) (`actual`) not equal to "weight" (`expected`).
  
  `actual`:   "NULL"  
  `expected`: "weight"
  
  [ FAIL 1 | WARN 32 | SKIP 5 | PASS 128 ]
  Error: Test failures
  Execution halted