Running 'testthat.R' [3s/3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RcppProgress)
  > 
  > test_check("RcppProgress")
  -- 1. Failure: test_sequential (@test-pkg_examples.R#6)  -----------------------
  `test_sequential(nb = 500)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. RcppProgress:::.test_sequential()
    7. global::test_sequential(nb = 500)
    8. global::load_my_example_pkg(pkg, ...)
    9. devtools::load_all(path, quiet = TRUE, ...)
   10. ellipsis::check_dots_used(...)
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  -- 2. Failure: test_multithreaded (@test-pkg_examples.R#13)  -------------------
  `test_multithreaded(nb = 1000, threads = 4)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. RcppProgress:::.test_multithreaded()
    7. global::test_multithreaded(nb = 1000, threads = 4)
    8. global::load_my_example_pkg(pkg, ...)
    9. devtools::load_all(path, quiet = TRUE, ...)
   10. ellipsis::check_dots_used(...)
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  -- 3. Failure: amardillo_multithreaded (@test-pkg_examples.R#20)  --------------
  `amardillo_multithreaded(nb = 1000, threads = 4)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. RcppProgress:::.amardillo_multithreaded()
    7. global::amardillo_multithreaded(nb = 1000, threads = 4)
    8. global::load_my_example_pkg(pkg, ...)
    9. devtools::load_all(path, quiet = TRUE, ...)
   10. ellipsis::check_dots_used(...)
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  -- 4. Failure: eta_progress_bar (@test-pkg_examples.R#28)  ---------------------
  `eta_progress_bar(nb = 1000)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. RcppProgress:::.eta_progress_bar()
    7. global::eta_progress_bar(nb = 1000)
    8. global::load_my_example_pkg(pkg)
    9. devtools::load_all(path, quiet = TRUE, ...)
   10. ellipsis::check_dots_used(...)
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  == testthat results  ===========================================================
  [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Failure: test_sequential (@test-pkg_examples.R#6) 
  2. Failure: test_multithreaded (@test-pkg_examples.R#13) 
  3. Failure: amardillo_multithreaded (@test-pkg_examples.R#20) 
  4. Failure: eta_progress_bar (@test-pkg_examples.R#28) 
  
  Error: testthat unit tests failed
  Execution halted