Running ‘testthat.R’ [50s/51s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
  as.numeric(b_lincom[, 5]) not equal to 0.0005428401.
  1/1 mismatches
  [1] 0.016 - 0.000543 == 0.0155
  ── Failure ('test-parametric_bootstrap.R:170'): p-value are at least approximately uniform under null (univariate mixed-effects model) ──
  max(abs(sapply(pvals, function(x) mean(pvals <= x)) - pvals)) not equal to 0.1.
  1/1 mismatches
  [1] 0.3 - 0.1 == 0.2
  ── Failure ('test-parametric_bootstrap.R:280'): simulate_betta_random does a reasonable thing ──
  mean(...) not equal to 1.02.
  1/1 mismatches
  [1] 0.961 - 1.02 == -0.0586
  
  [ FAIL 7 | WARN 1 | SKIP 0 | PASS 250 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [49s/50s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
  as.numeric(b_lincom[, 5]) not equal to 0.0005428401.
  1/1 mismatches
  [1] 0.016 - 0.000543 == 0.0155
  ── Failure ('test-parametric_bootstrap.R:170'): p-value are at least approximately uniform under null (univariate mixed-effects model) ──
  max(abs(sapply(pvals, function(x) mean(pvals <= x)) - pvals)) not equal to 0.1.
  1/1 mismatches
  [1] 0.3 - 0.1 == 0.2
  ── Failure ('test-parametric_bootstrap.R:280'): simulate_betta_random does a reasonable thing ──
  mean(...) not equal to 1.02.
  1/1 mismatches
  [1] 0.961 - 1.02 == -0.0586
  
  [ FAIL 7 | WARN 1 | SKIP 0 | PASS 250 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'breakaway.Rmd' using rmarkdown
   frequency
71         1
   index
71  2922
--- finished re-building 'breakaway.Rmd'

--- re-building 'diversity-hypothesis-testing.Rmd' using rmarkdown
Error: processing vignette 'diversity-hypothesis-testing.Rmd' failed with diagnostics:
object 'preview_math' not found
--- failed re-building 'diversity-hypothesis-testing.Rmd'

--- re-building 'intro-diversity-estimation.Rmd' using rmarkdown
Error: processing vignette 'intro-diversity-estimation.Rmd' failed with diagnostics:
object 'preview_math' not found
--- failed re-building 'intro-diversity-estimation.Rmd'

SUMMARY: processing the following files failed:
  'diversity-hypothesis-testing.Rmd' 'intro-diversity-estimation.Rmd'

Error: Vignette re-building failed.
Execution halted