* using log directory 'd:/Rcompile/CRANpkg/local/4.3/precommit.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'precommit/DESCRIPTION' ... OK * this is package 'precommit' 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 'precommit' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [7s] OK * checking whether the package can be loaded with stated dependencies ... [6s] OK * checking whether the package can be unloaded cleanly ... [7s] OK * checking whether the namespace can be loaded with stated dependencies ... [7s] OK * checking whether the namespace can be unloaded cleanly ... [7s] OK * checking loading without being on the library search path ... [1s] OK * checking startup messages can be suppressed ... [7s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [16s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [8s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [228s] ERROR Running 'testthat.R' [227s] 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()`) ────── 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [13s] OK * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [8s] OK * DONE Status: 1 ERROR