CRAN Package Check Results for Package precommit

Last updated on 2024-10-16 05:48:39 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.3 3.22 241.59 244.81 OK
r-devel-linux-x86_64-debian-gcc 0.4.3 2.51 165.11 167.62 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.3 404.81 OK
r-devel-linux-x86_64-fedora-gcc 0.4.3 375.89 OK
r-devel-windows-x86_64 0.4.3 33.00 485.00 518.00 OK
r-patched-linux-x86_64 0.4.3 4.56 225.64 230.20 OK
r-release-linux-x86_64 0.4.3 3.46 225.55 229.01 OK
r-release-macos-arm64 0.4.3 105.00 OK
r-release-macos-x86_64 0.4.3 297.00 OK
r-release-windows-x86_64 0.4.3 31.00 462.00 493.00 OK
r-oldrel-macos-arm64 0.4.3 104.00 OK
r-oldrel-macos-x86_64 0.4.3 185.00 OK
r-oldrel-windows-x86_64 0.4.3 18.00 301.00 319.00 OK

Check Details

Version: 0.4.3
Check: tests
Result: ERROR Running ‘testthat.R’ [107s/79s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(precommit) > test_check("precommit") Starting 2 test processes [ FAIL 3 | WARN 6 | SKIP 13 | PASS 183 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • !is_windows() is TRUE (1): 'test-exec.R:23:3' • On CRAN (11): 'test-conda.R:207:3', 'test-config.R:15:3', 'test-impl-hook-roxygenize.R:2:3', 'test-impl-hook-roxygenize.R:46:3', 'test-impl-hook-roxygenize.R:82:3', 'test-impl-hook-roxygenize.R:95:3', 'test-impl-hook-roxygenize.R:114:3', 'test-impl-hook-roxygenize.R:127:3', 'test-impl-hook-roxygenize.R:143:3', 'test-impl-hook-roxygenize.R:155:3', 'test-zzz.R:2:3' • not_conda() is TRUE (1): 'test-impl-hooks-regex-exclude.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-hook-roxygenize.R:12:5'): (code run outside of `test_that()`) ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'git2r' Backtrace: ▆ 1. ├─precommit:::run_test(...) at test-hook-roxygenize.R:2:1 2. │ └─precommit:::run_test_impl(...) 3. │ ├─withr::with_dir(tempdir, file_transformer(path_candidate_temp)) 4. │ │ └─base::force(code) 5. │ └─precommit (local) file_transformer(path_candidate_temp) 6. │ └─precommit:::git_init() at test-hook-roxygenize.R:12:5 7. └─base::loadNamespace(x) 8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 9. └─base (local) withOneRestart(expr, restarts[[1L]]) 10. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-hook-readme-rmd-rendered.R:13:9'): (code run outside of `test_that()`) ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'git2r' Backtrace: ▆ 1. ├─precommit:::run_test(...) at test-hook-readme-rmd-rendered.R:2:3 2. │ └─precommit:::run_test_impl(...) 3. │ ├─withr::with_dir(tempdir, file_transformer(path_candidate_temp)) 4. │ │ └─base::force(code) 5. │ └─precommit (local) file_transformer(path_candidate_temp) 6. │ └─precommit:::git_init() at test-hook-readme-rmd-rendered.R:13:9 7. └─base::loadNamespace(x) 8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 9. └─base (local) withOneRestart(expr, restarts[[1L]]) 10. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-utils.R:22:3'): git repo status can be evaluated ─────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'git2r' Backtrace: ▆ 1. ├─precommit:::git_init(tmpdir) at test-utils.R:22:3 2. └─base::loadNamespace(x) 3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 4. └─base (local) withOneRestart(expr, restarts[[1L]]) 5. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 3 | WARN 6 | SKIP 13 | PASS 183 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc