Running ‘testthat.R’ [52s/56s]
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#4)  ───────────────────────
  `RcppProgress:::test_sequential(nb = 500)` threw an error.
  Message: Command failed (1)
  Class:   simpleError/error/condition
  
  ── 2. Error: test_multithreaded (@test-pkg_examples.R#11)  ─────────────────────
  Command failed (1)
  1: .test_multithreaded()
  2: RcppProgress:::test_multithreaded(nb = 1000, threads = 4) at testthat/test-pkg_examples.R:11
  3: load_my_example_pkg(pkg, ...)
  4: load_all(path, quiet = TRUE, recompile = recompile, ...)
  5: compile_dll(pkg, quiet = quiet)
  6: withr_with_envvar(compiler_flags(TRUE), {
         if (!needs_compile(pkg)) 
             return(invisible())
         compile_rcpp_attributes(pkg)
         if (!quiet) 
             message("Re-compiling ", pkg$package)
         install_dir <- tempfile("devtools_install_")
         dir.create(install_dir)
         inst <- install_min(pkg, install_dir, components = "libs", args = if (needs_clean(pkg)) 
             "--preclean", quiet = quiet)
         invisible(dll_path(pkg))
     }, "prefix")
  7: force(code)
  8: install_min(pkg, install_dir, components = "libs", args = if (needs_clean(pkg)) "--preclean", 
         quiet = quiet)
  9: RCMD("INSTALL", c(shQuote(pkg$path), paste("--library=", shQuote(dest), sep = ""), 
         no_args, "--no-multiarch", "--no-test-load", args), quiet = quiet)
  10: R(paste("CMD", cmd, options), path = path, env_vars = env_vars, ...)
  11: fun(r, args = args, env_vars = env_vars, path = path, ...)
  12: stop("Command failed (", status, ")", call. = FALSE)
  
  ── 3. Error: amardillo_multithreaded (@test-pkg_examples.R#18)  ────────────────
  Command failed (1)
  1: .amardillo_multithreaded()
  2: RcppProgress:::amardillo_multithreaded(nb = 1000, threads = 4) at testthat/test-pkg_examples.R:18
  3: load_my_example_pkg(pkg, ...)
  4: load_all(path, quiet = TRUE, recompile = recompile, ...)
  5: compile_dll(pkg, quiet = quiet)
  6: withr_with_envvar(compiler_flags(TRUE), {
         if (!needs_compile(pkg)) 
             return(invisible())
         compile_rcpp_attributes(pkg)
         if (!quiet) 
             message("Re-compiling ", pkg$package)
         install_dir <- tempfile("devtools_install_")
         dir.create(install_dir)
         inst <- install_min(pkg, install_dir, components = "libs", args = if (needs_clean(pkg)) 
             "--preclean", quiet = quiet)
         invisible(dll_path(pkg))
     }, "prefix")
  7: force(code)
  8: install_min(pkg, install_dir, components = "libs", args = if (needs_clean(pkg)) "--preclean", 
         quiet = quiet)
  9: RCMD("INSTALL", c(shQuote(pkg$path), paste("--library=", shQuote(dest), sep = ""), 
         no_args, "--no-multiarch", "--no-test-load", args), quiet = quiet)
  10: R(paste("CMD", cmd, options), path = path, env_vars = env_vars, ...)
  11: fun(r, args = args, env_vars = env_vars, path = path, ...)
  12: stop("Command failed (", status, ")", call. = FALSE)
  
  ── 4. Error: eta_progress_bar (@test-pkg_examples.R#26)  ───────────────────────
  Command failed (1)
  1: .eta_progress_bar()
  2: RcppProgress:::eta_progress_bar(nb = 1000) at testthat/test-pkg_examples.R:26
  3: load_my_example_pkg(pkg)
  4: load_all(path, quiet = TRUE, recompile = recompile, ...)
  5: compile_dll(pkg, quiet = quiet)
  6: withr_with_envvar(compiler_flags(TRUE), {
         if (!needs_compile(pkg)) 
             return(invisible())
         compile_rcpp_attributes(pkg)
         if (!quiet) 
             message("Re-compiling ", pkg$package)
         install_dir <- tempfile("devtools_install_")
         dir.create(install_dir)
         inst <- install_min(pkg, install_dir, components = "libs", args = if (needs_clean(pkg)) 
             "--preclean", quiet = quiet)
         invisible(dll_path(pkg))
     }, "prefix")
  7: force(code)
  8: install_min(pkg, install_dir, components = "libs", args = if (needs_clean(pkg)) "--preclean", 
         quiet = quiet)
  9: RCMD("INSTALL", c(shQuote(pkg$path), paste("--library=", shQuote(dest), sep = ""), 
         no_args, "--no-multiarch", "--no-test-load", args), quiet = quiet)
  10: R(paste("CMD", cmd, options), path = path, env_vars = env_vars, ...)
  11: fun(r, args = args, env_vars = env_vars, path = path, ...)
  12: stop("Command failed (", status, ")", call. = FALSE)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 0 SKIPPED: 0 FAILED: 4
  1. Failure: test_sequential (@test-pkg_examples.R#4) 
  2. Error: test_multithreaded (@test-pkg_examples.R#11) 
  3. Error: amardillo_multithreaded (@test-pkg_examples.R#18) 
  4. Error: eta_progress_bar (@test-pkg_examples.R#26) 
  
  Error: testthat unit tests failed
  Execution halted