Running 'testthat.R' [31s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RcppProgress)
  > 
  > test_check("RcppProgress")
  Saving _problems/test-pkg_examples-8.R
  Saving _problems/test-pkg_examples-15.R
  Saving _problems/test-pkg_examples-22.R
  Saving _problems/test-pkg_examples-30.R
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-pkg_examples.R:8:1'): test_sequential ────────────────────────
  `test_sequential(nb = 500)` threw an error.
  Message: ! System command 'Rcmd.exe' failed
  Class:   system_command_status_error/system_command_error/rlib_error_3_0/rlib_error/error/condition
  Backtrace:
       ▆
    1. ├─RcppProgress (local) .test_sequential()
    2. │ ├─testthat::expect_error(test_sequential(nb = 500), NA) at test-pkg_examples.R:6:3
    3. │ │ └─testthat:::quasi_capture(...)
    4. │ │   ├─testthat (local) .capture(...)
    5. │ │   │ └─base::withCallingHandlers(...)
    6. │ │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. │ └─global test_sequential(nb = 500)
    8. │   └─global load_my_example_pkg(pkg, ...)
    9. │     └─devtools::load_all(path, quiet = TRUE, ...)
   10. │       └─pkgload::load_all(...)
   11. │         └─pkgbuild::compile_dll(path, quiet = quiet, debug = debug)
   12. │           ├─pkgbuild:::withr_with_makevars(...)
   13. │           │ ├─pkgbuild:::withr_with_envvar(...)
   14. │           │ │ └─base::force(code)
   15. │           │ └─base::force(code)
   16. │           ├─pkgbuild:::withr_with_envvar(c(DEBUG = "true"), build())
   17. │           │ └─base::force(code)
   18. │           └─pkgbuild::build()
   19. │             └─pkgbuild:::install_min(...)
   20. │               └─pkgbuild::rcmd_build_tools(...)
   21. │                 ├─pkgbuild::with_build_tools(...)
   22. │                 │ └─pkgbuild:::withr_with_path(rtools_path(), code)
   23. │                 │   └─base::force(code)
   24. │                 ├─base::withCallingHandlers(...)
   25. │                 └─callr::rcmd_safe(...)
   26. │                   └─callr:::run_r(options)
   27. │                     ├─base::with(...)
   28. │                     └─base::with.default(...)
   29. │                       └─base::eval(substitute(expr), data, enclos = parent.frame())
   30. │                         └─base::eval(substitute(expr), data, enclos = parent.frame())
   31. │                           ├─callr:::with_envvar(...)
   32. │                           │ └─base::force(code)
   33. │                           ├─base::do.call(...)
   34. │                           └─processx (local) `<fn>`(...)
   35. │                             └─throw(...)
   36. │                               └─base::signalCondition(cond)
   37. └─pkgbuild (local) `<fn>`(`<systm___>`)
   38.   └─asNamespace("callr")$err$throw(e)
  ── Failure ('test-pkg_examples.R:15:1'): test_multithreaded ────────────────────
  `test_multithreaded(nb = 1000, threads = 4)` threw an error.
  Message: ! System command 'Rcmd.exe' failed
  Class:   system_command_status_error/system_command_error/rlib_error_3_0/rlib_error/error/condition
  Backtrace:
       ▆
    1. ├─RcppProgress (local) .test_multithreaded()
    2. │ ├─testthat::expect_error(...) at test-pkg_examples.R:13:3
    3. │ │ └─testthat:::quasi_capture(...)
    4. │ │   ├─testthat (local) .capture(...)
    5. │ │   │ └─base::withCallingHandlers(...)
    6. │ │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. │ └─global test_multithreaded(nb = 1000, threads = 4)
    8. │   └─global load_my_example_pkg(pkg, ...)
    9. │     └─devtools::load_all(path, quiet = TRUE, ...)
   10. │       └─pkgload::load_all(...)
   11. │         └─pkgbuild::compile_dll(path, quiet = quiet, debug = debug)
   12. │           ├─pkgbuild:::withr_with_makevars(...)
   13. │           │ ├─pkgbuild:::withr_with_envvar(...)
   14. │           │ │ └─base::force(code)
   15. │           │ └─base::force(code)
   16. │           ├─pkgbuild:::withr_with_envvar(c(DEBUG = "true"), build())
   17. │           │ └─base::force(code)
   18. │           └─pkgbuild::build()
   19. │             └─pkgbuild:::install_min(...)
   20. │               └─pkgbuild::rcmd_build_tools(...)
   21. │                 ├─pkgbuild::with_build_tools(...)
   22. │                 │ └─pkgbuild:::withr_with_path(rtools_path(), code)
   23. │                 │   └─base::force(code)
   24. │                 ├─base::withCallingHandlers(...)
   25. │                 └─callr::rcmd_safe(...)
   26. │                   └─callr:::run_r(options)
   27. │                     ├─base::with(...)
   28. │                     └─base::with.default(...)
   29. │                       └─base::eval(substitute(expr), data, enclos = parent.frame())
   30. │                         └─base::eval(substitute(expr), data, enclos = parent.frame())
   31. │                           ├─callr:::with_envvar(...)
   32. │                           │ └─base::force(code)
   33. │                           ├─base::do.call(...)
   34. │                           └─processx (local) `<fn>`(...)
   35. │                             └─throw(...)
   36. │                               └─base::signalCondition(cond)
   37. └─pkgbuild (local) `<fn>`(`<systm___>`)
   38.   └─asNamespace("callr")$err$throw(e)
  ── Failure ('test-pkg_examples.R:22:1'): amardillo_multithreaded ───────────────
  `amardillo_multithreaded(nb = 1000, threads = 4)` threw an error.
  Message: ! System command 'Rcmd.exe' failed
  Class:   system_command_status_error/system_command_error/rlib_error_3_0/rlib_error/error/condition
  Backtrace:
       ▆
    1. ├─RcppProgress (local) .amardillo_multithreaded()
    2. │ ├─testthat::expect_error(...) at test-pkg_examples.R:20:3
    3. │ │ └─testthat:::quasi_capture(...)
    4. │ │   ├─testthat (local) .capture(...)
    5. │ │   │ └─base::withCallingHandlers(...)
    6. │ │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. │ └─global amardillo_multithreaded(nb = 1000, threads = 4)
    8. │   └─global load_my_example_pkg(pkg, ...)
    9. │     └─devtools::load_all(path, quiet = TRUE, ...)
   10. │       └─pkgload::load_all(...)
   11. │         └─pkgbuild::compile_dll(path, quiet = quiet, debug = debug)
   12. │           ├─pkgbuild:::withr_with_makevars(...)
   13. │           │ ├─pkgbuild:::withr_with_envvar(...)
   14. │           │ │ └─base::force(code)
   15. │           │ └─base::force(code)
   16. │           ├─pkgbuild:::withr_with_envvar(c(DEBUG = "true"), build())
   17. │           │ └─base::force(code)
   18. │           └─pkgbuild::build()
   19. │             └─pkgbuild:::install_min(...)
   20. │               └─pkgbuild::rcmd_build_tools(...)
   21. │                 ├─pkgbuild::with_build_tools(...)
   22. │                 │ └─pkgbuild:::withr_with_path(rtools_path(), code)
   23. │                 │   └─base::force(code)
   24. │                 ├─base::withCallingHandlers(...)
   25. │                 └─callr::rcmd_safe(...)
   26. │                   └─callr:::run_r(options)
   27. │                     ├─base::with(...)
   28. │                     └─base::with.default(...)
   29. │                       └─base::eval(substitute(expr), data, enclos = parent.frame())
   30. │                         └─base::eval(substitute(expr), data, enclos = parent.frame())
   31. │                           ├─callr:::with_envvar(...)
   32. │                           │ └─base::force(code)
   33. │                           ├─base::do.call(...)
   34. │                           └─processx (local) `<fn>`(...)
   35. │                             └─throw(...)
   36. │                               └─base::signalCondition(cond)
   37. └─pkgbuild (local) `<fn>`(`<systm___>`)
   38.   └─asNamespace("callr")$err$throw(e)
  ── Failure ('test-pkg_examples.R:30:1'): eta_progress_bar ──────────────────────
  `eta_progress_bar(nb = 1000)` threw an error.
  Message: ! System command 'Rcmd.exe' failed
  Class:   system_command_status_error/system_command_error/rlib_error_3_0/rlib_error/error/condition
  Backtrace:
       ▆
    1. ├─RcppProgress (local) .eta_progress_bar()
    2. │ ├─testthat::expect_error(eta_progress_bar(nb = 1000), NA) at test-pkg_examples.R:28:3
    3. │ │ └─testthat:::quasi_capture(...)
    4. │ │   ├─testthat (local) .capture(...)
    5. │ │   │ └─base::withCallingHandlers(...)
    6. │ │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. │ └─global eta_progress_bar(nb = 1000)
    8. │   └─global load_my_example_pkg(pkg)
    9. │     └─devtools::load_all(path, quiet = TRUE, ...)
   10. │       └─pkgload::load_all(...)
   11. │         └─pkgbuild::compile_dll(path, quiet = quiet, debug = debug)
   12. │           ├─pkgbuild:::withr_with_makevars(...)
   13. │           │ ├─pkgbuild:::withr_with_envvar(...)
   14. │           │ │ └─base::force(code)
   15. │           │ └─base::force(code)
   16. │           ├─pkgbuild:::withr_with_envvar(c(DEBUG = "true"), build())
   17. │           │ └─base::force(code)
   18. │           └─pkgbuild::build()
   19. │             └─pkgbuild:::install_min(...)
   20. │               └─pkgbuild::rcmd_build_tools(...)
   21. │                 ├─pkgbuild::with_build_tools(...)
   22. │                 │ └─pkgbuild:::withr_with_path(rtools_path(), code)
   23. │                 │   └─base::force(code)
   24. │                 ├─base::withCallingHandlers(...)
   25. │                 └─callr::rcmd_safe(...)
   26. │                   └─callr:::run_r(options)
   27. │                     ├─base::with(...)
   28. │                     └─base::with.default(...)
   29. │                       └─base::eval(substitute(expr), data, enclos = parent.frame())
   30. │                         └─base::eval(substitute(expr), data, enclos = parent.frame())
   31. │                           ├─callr:::with_envvar(...)
   32. │                           │ └─base::force(code)
   33. │                           ├─base::do.call(...)
   34. │                           └─processx (local) `<fn>`(...)
   35. │                             └─throw(...)
   36. │                               └─base::signalCondition(cond)
   37. └─pkgbuild (local) `<fn>`(`<systm___>`)
   38.   └─asNamespace("callr")$err$throw(e)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted