CRAN Package Check Results for Package precommit

Last updated on 2024-07-23 18:59:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-fedora-clang 0.4.3 392.77 OK
r-devel-linux-x86_64-fedora-gcc 0.4.3 388.74 OK
r-devel-windows-x86_64 0.4.2 30.00 701.00 731.00 ERROR
r-patched-linux-x86_64 0.4.2 6.11 284.89 291.00 ERROR
r-release-linux-x86_64 0.4.2 3.64 289.07 292.71 ERROR
r-release-macos-arm64 0.4.2 110.00 OK
r-release-macos-x86_64 0.4.3 297.00 OK
r-release-windows-x86_64 0.4.2 30.00 709.00 739.00 ERROR
r-oldrel-macos-arm64 0.4.2 108.00 OK
r-oldrel-macos-x86_64 0.4.3 218.00 ERROR

Check Details

Version: 0.4.2
Check: tests
Result: ERROR Running 'testthat.R' [395s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(precommit) > test_check("precommit") Starting 2 test processes [ FAIL 1 | WARN 0 | SKIP 13 | PASS 177 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • 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' • on_cran() is TRUE (1): 'test-exec.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-hook-pkgdown.R:2:1'): (code run outside of `test_that()`) ────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::map2(path_candidate, path_candidate_temp, hook_state_assert_one, tempdir = tempdir, file_transformer = file_transformer, path_stdout = path_stdout, path_stderr = path_stderr, expect_success = expect_success, std_err = std_err, std_out = std_out, exit_status = exit_status)`: ℹ In index: 1. ℹ With name: man/autoudpate.Rd. Caused by error: ! Expected: No error. Found: Error in `check_pkgdown()`: ! In _pkgdown.yml, url is missing. ℹ See details in `vignette(pkgdown::metadata)`. Backtrace: ▆ 1. └─pkgdown::check_pkgdown() 2. └─pkgdown:::check_urls(pkg) 3. └─pkgdown:::config_abort(...) 4. └─cli::cli_abort(message, ..., call = call, .envir = .envir) 5. └─rlang::abort(...) Execution halted [ FAIL 1 | WARN 0 | SKIP 13 | PASS 177 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 0.4.2
Check: tests
Result: ERROR Running ‘testthat.R’ [188s/148s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(precommit) > test_check("precommit") Starting 2 test processes [ FAIL 1 | WARN 0 | SKIP 13 | PASS 177 ] ══ 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-pkgdown.R:2:1'): (code run outside of `test_that()`) ────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::map2(path_candidate, path_candidate_temp, hook_state_assert_one, tempdir = tempdir, file_transformer = file_transformer, path_stdout = path_stdout, path_stderr = path_stderr, expect_success = expect_success, std_err = std_err, std_out = std_out, exit_status = exit_status)`: ℹ In index: 1. ℹ With name: man/autoudpate.Rd. Caused by error: ! Expected: No error. Found: Error in `check_pkgdown()`: ! In _pkgdown.yml, url is missing. ℹ See details in `vignette(pkgdown::metadata)`. Backtrace: ▆ 1. └─pkgdown::check_pkgdown() 2. └─pkgdown:::check_urls(pkg) 3. └─pkgdown:::config_abort(...) 4. └─cli::cli_abort(message, ..., call = call, .envir = .envir) 5. └─rlang::abort(...) Execution halted [ FAIL 1 | WARN 0 | SKIP 13 | PASS 177 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 0.4.2
Check: tests
Result: ERROR Running ‘testthat.R’ [188s/145s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(precommit) > test_check("precommit") Starting 2 test processes [ FAIL 1 | WARN 0 | SKIP 13 | PASS 177 ] ══ 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-pkgdown.R:2:1'): (code run outside of `test_that()`) ────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::map2(path_candidate, path_candidate_temp, hook_state_assert_one, tempdir = tempdir, file_transformer = file_transformer, path_stdout = path_stdout, path_stderr = path_stderr, expect_success = expect_success, std_err = std_err, std_out = std_out, exit_status = exit_status)`: ℹ In index: 1. ℹ With name: man/autoudpate.Rd. Caused by error: ! Expected: No error. Found: Error in `check_pkgdown()`: ! In _pkgdown.yml, url is missing. ℹ See details in `vignette(pkgdown::metadata)`. Backtrace: ▆ 1. └─pkgdown::check_pkgdown() 2. └─pkgdown:::check_urls(pkg) 3. └─pkgdown:::config_abort(...) 4. └─cli::cli_abort(message, ..., call = call, .envir = .envir) 5. └─rlang::abort(...) Execution halted [ FAIL 1 | WARN 0 | SKIP 13 | PASS 177 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 0.4.2
Check: tests
Result: ERROR Running 'testthat.R' [398s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(precommit) > test_check("precommit") Starting 2 test processes [ FAIL 1 | WARN 0 | SKIP 13 | PASS 177 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • 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' • on_cran() is TRUE (1): 'test-exec.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-hook-pkgdown.R:2:1'): (code run outside of `test_that()`) ────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::map2(path_candidate, path_candidate_temp, hook_state_assert_one, tempdir = tempdir, file_transformer = file_transformer, path_stdout = path_stdout, path_stderr = path_stderr, expect_success = expect_success, std_err = std_err, std_out = std_out, exit_status = exit_status)`: ℹ In index: 1. ℹ With name: man/autoudpate.Rd. Caused by error: ! Expected: No error. Found: Error in `check_pkgdown()`: ! In _pkgdown.yml, url is missing. ℹ See details in `vignette(pkgdown::metadata)`. Backtrace: ▆ 1. └─pkgdown::check_pkgdown() 2. └─pkgdown:::check_urls(pkg) 3. └─pkgdown:::config_abort(...) 4. └─cli::cli_abort(message, ..., call = call, .envir = .envir) 5. └─rlang::abort(...) Execution halted [ FAIL 1 | WARN 0 | SKIP 13 | PASS 177 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 0.4.3
Check: running R code from vignettes
Result: ERROR Errors in running code in vignettes: when running code in ‘FAQ.Rmd’ ... ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (precommit) > precommit::install_precommit() ℹ Installing pre-commit into the conda environment `r-precommit `. When sourcing ‘FAQ.R’: Error: Unable to find conda binary. Is Anaconda installed? Execution halted when running code in ‘precommit.Rmd’ ... > knitr::opts_chunk$set(eval = FALSE) > install.packages("precommit") Installing package into ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.3/precommit.Rcheck’ (as ‘lib’ is unspecified) When sourcing ‘precommit.R’: Error: trying to use CRAN without setting a mirror Execution halted ‘FAQ.Rmd’ using ‘UTF-8’... failed ‘available-hooks.Rmd’ using ‘UTF-8’... [1s/1s] OK ‘ci.Rmd’ using ‘UTF-8’... [0s/0s] OK ‘hook-order.Rmd’ using ‘UTF-8’... [0s/0s] OK ‘precommit.Rmd’ using ‘UTF-8’... failed ‘testing.Rmd’ using ‘UTF-8’... [0s/0s] OK ‘why-use-hooks.Rmd’ using ‘UTF-8’... [0s/0s] OK Flavor: r-oldrel-macos-x86_64