Running 'spelling.R' [0s/1s]
  Running 'testthat.R' [10s/12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(pairwiseComparisons)
  > 
  > test_check("pairwiseComparisons")
  -- 1. Error: `pairwise_comparisons()` works for between-subjects design (@test-p
  'where' must be an environment
  Backtrace:
    1. pairwiseComparisons::pairwise_comparisons(...)
    2. stats::TukeyHSD(x = aovmodel, conf.level = 0.95)
    2. broomExtra::tidy(.)
    2. dplyr::select(.data = ., comparison, estimate)
    9. tidyr::separate(...)
   10. ellipsis::check_dots_used()
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  -- 2. Error: `pairwise_comparisons()` works for within-subjects design (@test-pa
  'where' must be an environment
  Backtrace:
    1. pairwiseComparisons::pairwise_comparisons(...)
    2. stats::TukeyHSD(x = aovmodel, conf.level = 0.95)
    2. broomExtra::tidy(.)
    2. dplyr::select(.data = ., comparison, estimate)
    9. tidyr::separate(...)
   10. ellipsis::check_dots_used()
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  -- 3. Error: check if everything works fine with irregular factor level names (@
  'where' must be an environment
  Backtrace:
    1. pairwiseComparisons::pairwise_comparisons(...)
    2. stats::TukeyHSD(x = aovmodel, conf.level = 0.95)
    2. broomExtra::tidy(.)
    2. dplyr::select(.data = ., comparison, estimate)
    9. tidyr::separate(...)
   10. ellipsis::check_dots_used()
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  == testthat results  ===========================================================
  [ OK: 17 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: `pairwise_comparisons()` works for between-subjects design (@test-pairwise_comparisons.R#9) 
  2. Error: `pairwise_comparisons()` works for within-subjects design (@test-pairwise_comparisons.R#258) 
  3. Error: check if everything works fine with irregular factor level names (@test-pairwise_comparisons.R#476) 
  
  Error: testthat unit tests failed
  Execution halted