Running 'testthat.R' [72s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RcppProgress)
  > 
  > test_check("RcppProgress")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-pkg_examples.R:6:3): test_sequential ──────────────────────────
  `test_sequential(nb = 500)` threw an error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. └─RcppProgress (local) .test_sequential()
    2.   ├─testthat::expect_error(test_sequential(nb = 500), NA) at test-pkg_examples.R:6:2
    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.           └─pkgload:::warn_if_conflicts(package, out$env, globalenv())
   12.             └─cli::cli_warn(c(header, bullets, directions), class = "pkgload::conflict")
   13.               └─cli:::vcapply(message, format_inline, .envir = .envir)
   14.                 └─base::vapply(X, FUN, FUN.VALUE = character(1), ..., USE.NAMES = USE.NAMES)
   15.                   └─cli (local) FUN(X[[i]], ...)
   16.                     └─cli:::fmt(cli_text(..., .envir = .envir))
   17.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   18.                         ├─base::do.call(app[[msg$type]], msg$args)
   19.                         └─cli (local) `<fn>`(text = `<cl_gl_dl>`)
   20.                           └─cli:::clii_text(app, text)
   21.                             └─app$xtext(text)
   22.                               └─cli:::clii__xtext(...)
   23.                                 └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   24.                                   └─base::lapply(pars, ansi_trimws)
   25.                                     └─cli (local) FUN(X[[i]], ...)
  ── Failure (test-pkg_examples.R:13:3): test_multithreaded ──────────────────────
  `test_multithreaded(nb = 1000, threads = 4)` threw an error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. └─RcppProgress (local) .test_multithreaded()
    2.   ├─testthat::expect_error(...) at test-pkg_examples.R:13:2
    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.           └─pkgload:::warn_if_conflicts(package, out$env, globalenv())
   12.             └─cli::cli_warn(c(header, bullets, directions), class = "pkgload::conflict")
   13.               └─cli:::vcapply(message, format_inline, .envir = .envir)
   14.                 └─base::vapply(X, FUN, FUN.VALUE = character(1), ..., USE.NAMES = USE.NAMES)
   15.                   └─cli (local) FUN(X[[i]], ...)
   16.                     └─cli:::fmt(cli_text(..., .envir = .envir))
   17.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   18.                         ├─base::do.call(app[[msg$type]], msg$args)
   19.                         └─cli (local) `<fn>`(text = `<cl_gl_dl>`)
   20.                           └─cli:::clii_text(app, text)
   21.                             └─app$xtext(text)
   22.                               └─cli:::clii__xtext(...)
   23.                                 └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   24.                                   └─base::lapply(pars, ansi_trimws)
   25.                                     └─cli (local) FUN(X[[i]], ...)
  ── Failure (test-pkg_examples.R:20:3): amardillo_multithreaded ─────────────────
  `amardillo_multithreaded(nb = 1000, threads = 4)` threw an error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. └─RcppProgress (local) .amardillo_multithreaded()
    2.   ├─testthat::expect_error(...) at test-pkg_examples.R:20:2
    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.           └─pkgload:::warn_if_conflicts(package, out$env, globalenv())
   12.             └─cli::cli_warn(c(header, bullets, directions), class = "pkgload::conflict")
   13.               └─cli:::vcapply(message, format_inline, .envir = .envir)
   14.                 └─base::vapply(X, FUN, FUN.VALUE = character(1), ..., USE.NAMES = USE.NAMES)
   15.                   └─cli (local) FUN(X[[i]], ...)
   16.                     └─cli:::fmt(cli_text(..., .envir = .envir))
   17.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   18.                         ├─base::do.call(app[[msg$type]], msg$args)
   19.                         └─cli (local) `<fn>`(text = `<cl_gl_dl>`)
   20.                           └─cli:::clii_text(app, text)
   21.                             └─app$xtext(text)
   22.                               └─cli:::clii__xtext(...)
   23.                                 └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   24.                                   └─base::lapply(pars, ansi_trimws)
   25.                                     └─cli (local) FUN(X[[i]], ...)
  ── Failure (test-pkg_examples.R:28:3): eta_progress_bar ────────────────────────
  `eta_progress_bar(nb = 1000)` threw an error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/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:2
    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.           └─pkgload:::warn_if_conflicts(package, out$env, globalenv())
   12.             └─cli::cli_warn(c(header, bullets, directions), class = "pkgload::conflict")
   13.               └─cli:::vcapply(message, format_inline, .envir = .envir)
   14.                 └─base::vapply(X, FUN, FUN.VALUE = character(1), ..., USE.NAMES = USE.NAMES)
   15.                   └─cli (local) FUN(X[[i]], ...)
   16.                     └─cli:::fmt(cli_text(..., .envir = .envir))
   17.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   18.                         ├─base::do.call(app[[msg$type]], msg$args)
   19.                         └─cli (local) `<fn>`(text = `<cl_gl_dl>`)
   20.                           └─cli:::clii_text(app, text)
   21.                             └─app$xtext(text)
   22.                               └─cli:::clii__xtext(...)
   23.                                 └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   24.                                   └─base::lapply(pars, ansi_trimws)
   25.                                     └─cli (local) FUN(X[[i]], ...)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted