Package: precommit Check: tests New result: ERROR Running ‘testthat.R’ [131s/84s] 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 180 ] ══ 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:12: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/flie-true.Rd. Caused by error: ! paste(contents, collapse = "\n") does not match "topic must be a known". Actual value: "Error in `map2()`:\nℹ In index: 2.\nCaused by error in `purrr::map()`:\nℹ In index: 1.\nCaused by error:\n! Topic must be a known topic name or alias, not "autoupdate".\nℹ Run `usethis::edit_pkgdown_config()` to edit.\nBacktrace:\n ▆\n 1. ├─pkgdown::check_pkgdown()\n 2. │ └─pkgdown:::data_reference_index(pkg)\n 3. │ └─... %>% unlist(recursive = FALSE)\n 4. ├─base::unlist(., recursive = FALSE)\n 5. ├─purrr::compact(.)\n 6. │ └─purrr::discard(.x, function(x) is_empty(.f(x)))\n 7. │ └─purrr:::where_if(.x, .p, ...)\n 8. │ └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)\n 9. │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)\n 10. └─purrr::imap(., data_reference_index_rows, pkg = pkg)\n 11. └─purrr::map2(.x, vec_index(.x), .f, ...)\n 12. └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)\n 13. ├─purrr:::with_indexed_errors(...)\n 14. │ └─base::withCallingHandlers(...)\n 15. ├─purrr:::call_with_cleanup(...)\n 16. └─pkgdown (local) .f(.x[[i]], .y[[i]], ...)\n 17. └─pkgdown:::section_topics(section$contents, pkg$topics, pkg$src_path)\n 18. ├─topics[select_topics(match_strings, topics), , ]\n 19. ├─tibble:::`[.tbl_df`(...)\n 20. └─pkgdown:::select_topics(match_strings, topics)\n 21. └─purrr::map(match_strings, match_eval, env = match_env(topics))\n 22. └─purrr:::map_("list", .x, .f, ..., .progress = .progress)\n 23. ├─purrr:::with_indexed_errors(...)\n 24. │ └─base::withCallingHandlers(...)\n 25. ├─purrr:::call_with_cleanup(...)\n 26. └─pkgdown (local) .f(.x[[i]], ...)\n 27. └─pkgdown:::topic_must("be a known topic name or alias", string)\n 28. └─cli::cli_abort(...)\n 29. └─rlang::abort(...)\nExecution halted" [ FAIL 1 | WARN 0 | SKIP 13 | PASS 180 ] Error: Test failures Execution halted