* using log directory 'd:/Rcompile/CRANpkg/local/4.5/RcppProgress.Rcheck' * using R Under development (unstable) (2024-10-15 r87238 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'RcppProgress/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RcppProgress' version '0.4.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'RcppProgress' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking whether the package can be loaded ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [0s] OK * checking loading without being on the library search path ... [1s] OK * checking use of S3 registration ... OK * checking Rd files ... [0s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [3s] ERROR Running 'testthat.R' [3s] 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:8:1'): test_sequential ──────────────────────── `test_sequential(nb = 500)` threw an error. Message: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. 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: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) 12. └─pkgbuild::check_build_tools(quiet = TRUE) ── Failure ('test-pkg_examples.R:15:1'): test_multithreaded ──────────────────── `test_multithreaded(nb = 1000, threads = 4)` threw an error. Message: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. Class: simpleError/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) 12. └─pkgbuild::check_build_tools(quiet = TRUE) ── Failure ('test-pkg_examples.R:22:1'): amardillo_multithreaded ─────────────── `amardillo_multithreaded(nb = 1000, threads = 4)` threw an error. Message: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. Class: simpleError/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) 12. └─pkgbuild::check_build_tools(quiet = TRUE) ── Failure ('test-pkg_examples.R:30:1'): eta_progress_bar ────────────────────── `eta_progress_bar(nb = 1000)` threw an error. Message: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. 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: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) 12. └─pkgbuild::check_build_tools(quiet = TRUE) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR