Running 'testthat.R' [2s/2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ellipsis)
  > 
  > test_check("ellipsis")
  -- 1. Failure: error if dots not used (@test-check.R#9)  -----------------------
  `f(1, 2)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(f(1, 2), NA)
    6. ellipsis:::f(1, 2)
    7. ellipsis::check_dots_used()
    9. ellipsis:::exit_handler(action)
   10. base::bquote(...)
  
  -- 2. Failure: error if dots not used (@test-check.R#10)  ----------------------
  `f(1, 2, 3)` threw an error with unexpected class.
  Expected class: rlib_error_dots_unused
  Actual class:   simpleError/error/condition
  Message:        'where' must be an environment
  Backtrace:
    1. testthat::expect_error(f(1, 2, 3), class = "rlib_error_dots_unused")
    6. ellipsis:::f(1, 2, 3)
    7. ellipsis::check_dots_used()
    9. ellipsis:::exit_handler(action)
   10. base::bquote(...)
  
  -- 3. Failure: error if dots not used by another function (@test-check.R#22)  --
  `f(x = 10, a = 1)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(f(x = 10, a = 1), NA)
    6. ellipsis:::f(x = 10, a = 1)
    7. ellipsis::check_dots_used()
    9. ellipsis:::exit_handler(action)
   10. base::bquote(...)
  
  -- 4. Failure: error if dots not used by another function (@test-check.R#23)  --
  `f(x = 10, c = 3)` threw an error with unexpected class.
  Expected class: rlib_error_dots_unused
  Actual class:   simpleError/error/condition
  Message:        'where' must be an environment
  Backtrace:
    1. testthat::expect_error(f(x = 10, c = 3), class = "rlib_error_dots_unused")
    6. ellipsis:::f(x = 10, c = 3)
    7. ellipsis::check_dots_used()
    9. ellipsis:::exit_handler(action)
   10. base::bquote(...)
  
  -- 5. Failure: can control the action (@test-check.R#51)  ----------------------
  `f(abort, check_dots_used, xy = 4)` threw an error with unexpected class.
  Expected class: rlib_error_dots_unused
  Actual class:   simpleError/error/condition
  Message:        'where' must be an environment
  Backtrace:
    1. testthat::expect_error(f(abort, check_dots_used, xy = 4), class = "rlib_error_dots_unused")
    6. ellipsis:::f(abort, check_dots_used, xy = 4)
    7. ellipsis:::check(action = action)
    9. ellipsis:::exit_handler(action)
   10. base::bquote(...)
  
  -- 6. Error: can control the action (@test-check.R#52)  ------------------------
  'where' must be an environment
  Backtrace:
    1. testthat::expect_warning(f(warn, check_dots_used, xy = 4), class = "rlib_error_dots_unused")
    6. ellipsis:::f(warn, check_dots_used, xy = 4)
    7. ellipsis:::check(action = action)
    9. ellipsis:::exit_handler(action)
   10. base::bquote(...)
  
  -- 7. Failure: warn if unused dots (@test-safe.R#4)  ---------------------------
  `safe_median(1:10)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(safe_median(1:10), NA)
    6. ellipsis::safe_median(1:10)
    7. ellipsis::check_dots_used()
    9. ellipsis:::exit_handler(action)
   10. base::bquote(...)
  
  -- 8. Failure: warn if unused dots (@test-safe.R#5)  ---------------------------
  `safe_median(1:10, na.rm = TRUE)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(safe_median(1:10, na.rm = TRUE), NA)
    6. ellipsis::safe_median(1:10, na.rm = TRUE)
    7. ellipsis::check_dots_used()
    9. ellipsis:::exit_handler(action)
   10. base::bquote(...)
  
  -- 9. Failure: warn if unused dots (@test-safe.R#6)  ---------------------------
  `safe_median(1:10, y = 1)` threw an error with unexpected class.
  Expected class: rlib_error_dots_unused
  Actual class:   simpleError/error/condition
  Message:        'where' must be an environment
  Backtrace:
    1. testthat::expect_error(safe_median(1:10, y = 1), class = "rlib_error_dots_unused")
    6. ellipsis::safe_median(1:10, y = 1)
    7. ellipsis::check_dots_used()
    9. ellipsis:::exit_handler(action)
   10. base::bquote(...)
  
  == testthat results  ===========================================================
  [ OK: 12 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 9 ]
  1. Failure: error if dots not used (@test-check.R#9) 
  2. Failure: error if dots not used (@test-check.R#10) 
  3. Failure: error if dots not used by another function (@test-check.R#22) 
  4. Failure: error if dots not used by another function (@test-check.R#23) 
  5. Failure: can control the action (@test-check.R#51) 
  6. Error: can control the action (@test-check.R#52) 
  7. Failure: warn if unused dots (@test-safe.R#4) 
  8. Failure: warn if unused dots (@test-safe.R#5) 
  9. Failure: warn if unused dots (@test-safe.R#6) 
  
  Error: testthat unit tests failed
  Execution halted