CRAN Package Check Results for Package pkgbuild

Last updated on 2024-10-14 12:50:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.4 4.36 58.11 62.47 OK
r-devel-linux-x86_64-debian-gcc 1.4.4 2.94 45.51 48.45 OK
r-devel-linux-x86_64-fedora-clang 1.4.4 101.91 OK
r-devel-linux-x86_64-fedora-gcc 1.4.4 91.83 OK
r-devel-windows-x86_64 1.4.4 5.00 95.00 100.00 ERROR
r-patched-linux-x86_64 1.4.4 3.53 54.47 58.00 OK
r-release-linux-x86_64 1.4.4 3.89 54.53 58.42 OK
r-release-macos-arm64 1.4.4 43.00 OK
r-release-macos-x86_64 1.4.4 67.00 OK
r-release-windows-x86_64 1.4.4 7.00 86.00 93.00 ERROR
r-oldrel-macos-arm64 1.4.4 45.00 OK
r-oldrel-macos-x86_64 1.4.4 71.00 OK
r-oldrel-windows-x86_64 1.4.4 6.00 98.00 104.00 OK

Check Details

Version: 1.4.4
Check: examples
Result: ERROR Running examples in 'pkgbuild-Ex.R' failed The error most likely occurred in: > ### Name: has_build_tools > ### Title: Are build tools are available? > ### Aliases: has_build_tools check_build_tools with_build_tools > ### local_build_tools > > ### ** Examples > > has_build_tools(debug = TRUE) [1] FALSE > check_build_tools() Error: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. Execution halted Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 1.4.4
Check: tests
Result: ERROR Running 'build-tools.R' [0s] Running 'testthat.R' [45s] Running the tests in 'tests/build-tools.R' failed. Complete output: > library(pkgbuild) > > check_build_tools(debug = TRUE) Error: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. Execution halted Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(pkgbuild) > > test_check("pkgbuild") [ FAIL 5 | WARN 0 | SKIP 15 | PASS 125 ] ══ Skipped tests (15) ══════════════════════════════════════════════════════════ • On CRAN (11): 'test-build-process.R:23:3', 'test-build-process.R:43:3', 'test-build.R:192:5', 'test-exclude.R:11:3', 'test-exclude.R:66:3', 'test-exclude.R:110:3', 'test-exclude.R:125:3', 'test-exclude.R:134:3', 'test-exclude.R:143:3', 'test-style.R:3:3', 'test-utils.R:115:3' • On Windows (1): 'test-exclude.R:154:3' • is_windows() && !has_rtools() is TRUE (2): 'test-compiler.R:6:5', 'test-compiler.R:19:5' • is_windows() && !is.null(scan_path_for_rtools()) is not TRUE (1): 'test-rtools.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-build-process.R:69:3'): source builds return correct filenames ── Error: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. Backtrace: ▆ 1. └─pkgbuild_process$new("testWithSrc", dest_path = tmp, register_routines = FALSE) at test-build-process.R:69:3 2. └─pkgbuild (local) initialize(...) 3. └─pkgbuild:::rcb_init(...) 4. └─pkgbuild:::build_setup(...) 5. └─pkgbuild:::build_setup_source(...) 6. └─pkgbuild::check_build_tools(quiet = TRUE) ── Error ('test-build.R:125:3'): source builds return correct filenames ──────── Error: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. Backtrace: ▆ 1. └─pkgbuild::build(...) at test-build.R:125:3 2. └─pkgbuild:::build_setup(...) 3. └─pkgbuild:::build_setup_source(...) 4. └─pkgbuild::check_build_tools(quiet = TRUE) ── Failure ('test-build_tools.R:4:5'): tests always run in environment with dev tools ── has_build_tools() is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─pkgbuild::without_cache(...) at test-build_tools.R:3:3 2. └─testthat::expect_true(has_build_tools()) at test-build_tools.R:4:5 ── Failure ('test-build_tools.R:5:5'): tests always run in environment with dev tools ── has_rtools() (`actual`) not equal to is_windows() (`expected`). `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─pkgbuild::without_cache(...) at test-build_tools.R:3:3 2. └─testthat::expect_equal(has_rtools(), is_windows()) at test-build_tools.R:5:5 ── Failure ('test-compile_dll.R:3:3'): can compile a DLL and clean up afterwards ── `compile_dll("testWithSrc", quiet = TRUE, register_routines = FALSE)` threw an unexpected 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. ├─testthat::expect_error(...) at test-compile_dll.R:3:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─pkgbuild::compile_dll("testWithSrc", quiet = TRUE, register_routines = FALSE) 8. └─pkgbuild::check_build_tools(quiet = TRUE) [ FAIL 5 | WARN 0 | SKIP 15 | PASS 125 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 1.4.4
Check: tests
Result: ERROR Running 'build-tools.R' [0s] Running 'testthat.R' [39s] Running the tests in 'tests/build-tools.R' failed. Complete output: > library(pkgbuild) > > check_build_tools(debug = TRUE) Error: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. Execution halted Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(pkgbuild) > > test_check("pkgbuild") [ FAIL 5 | WARN 0 | SKIP 15 | PASS 125 ] ══ Skipped tests (15) ══════════════════════════════════════════════════════════ • On CRAN (11): 'test-build-process.R:23:3', 'test-build-process.R:43:3', 'test-build.R:192:5', 'test-exclude.R:11:3', 'test-exclude.R:66:3', 'test-exclude.R:110:3', 'test-exclude.R:125:3', 'test-exclude.R:134:3', 'test-exclude.R:143:3', 'test-style.R:3:3', 'test-utils.R:115:3' • On Windows (1): 'test-exclude.R:154:3' • is_windows() && !has_rtools() is TRUE (2): 'test-compiler.R:6:5', 'test-compiler.R:19:5' • is_windows() && !is.null(scan_path_for_rtools()) is not TRUE (1): 'test-rtools.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-build-process.R:69:3'): source builds return correct filenames ── Error: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. Backtrace: ▆ 1. └─pkgbuild_process$new("testWithSrc", dest_path = tmp, register_routines = FALSE) at test-build-process.R:69:3 2. └─pkgbuild (local) initialize(...) 3. └─pkgbuild:::rcb_init(...) 4. └─pkgbuild:::build_setup(...) 5. └─pkgbuild:::build_setup_source(...) 6. └─pkgbuild::check_build_tools(quiet = TRUE) ── Error ('test-build.R:125:3'): source builds return correct filenames ──────── Error: Could not find tools necessary to compile a package Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem. Backtrace: ▆ 1. └─pkgbuild::build(...) at test-build.R:125:3 2. └─pkgbuild:::build_setup(...) 3. └─pkgbuild:::build_setup_source(...) 4. └─pkgbuild::check_build_tools(quiet = TRUE) ── Failure ('test-build_tools.R:4:5'): tests always run in environment with dev tools ── has_build_tools() is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─pkgbuild::without_cache(...) at test-build_tools.R:3:3 2. └─testthat::expect_true(has_build_tools()) at test-build_tools.R:4:5 ── Failure ('test-build_tools.R:5:5'): tests always run in environment with dev tools ── has_rtools() (`actual`) not equal to is_windows() (`expected`). `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─pkgbuild::without_cache(...) at test-build_tools.R:3:3 2. └─testthat::expect_equal(has_rtools(), is_windows()) at test-build_tools.R:5:5 ── Failure ('test-compile_dll.R:3:3'): can compile a DLL and clean up afterwards ── `compile_dll("testWithSrc", quiet = TRUE, register_routines = FALSE)` threw an unexpected 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. ├─testthat::expect_error(...) at test-compile_dll.R:3:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─pkgbuild::compile_dll("testWithSrc", quiet = TRUE, register_routines = FALSE) 8. └─pkgbuild::check_build_tools(quiet = TRUE) [ FAIL 5 | WARN 0 | SKIP 15 | PASS 125 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64