* using log directory 'd:/Rcompile/CRANpkg/local/4.5/pkgdown.Rcheck' * using R Under development (unstable) (2024-07-14 r86899 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'pkgdown/DESCRIPTION' ... OK * this is package 'pkgdown' version '2.1.0' * 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 'pkgdown' 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [12s] 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 ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [86s] ERROR Running 'testthat.R' [85s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(pkgdown) > > test_check("pkgdown") Starting 2 test processes [ FAIL 15 | WARN 0 | SKIP 129 | PASS 669 ] ══ Skipped tests (129) ═════════════════════════════════════════════════════════ • On CRAN (119): 'test-build-reference.R:4:3', 'test-build-reference.R:105:3', 'test-build-articles.R:14:3', 'test-build-articles.R:29:3', 'test-build-articles.R:57:3', 'test-build-articles.R:79:3', 'test-build-favicons.R:4:3', 'test-build-favicons.R:16:3', 'test-build-footer.R:12:3', 'test-build-footer.R:68:3', 'test-build-github.R:5:3', 'test-build-home-authors.R:16:3', 'test-build-home-authors.R:29:3', 'test-build-home-authors.R:90:3', 'test-build-home-authors.R:96:3', 'test-build-home-authors.R:198:3', 'test-build-home-community.R:11:3', 'test-build-home-index.R:39:3', 'test-build-home-index.R:86:3', 'test-build-home-index.R:125:3', 'test-build-home-index.R:136:3', 'test-build-news.R:16:3', 'test-build-news.R:52:3', 'test-build-news.R:105:3', 'test-build-news.R:110:3', 'test-build-news.R:115:3', 'test-build-news.R:188:3', 'test-build-news.R:207:3', 'test-build-news.R:221:3', 'test-build-news.R:235:3', 'test-build-news.R:247:3', 'test-build-redirects.R:10:3', 'test-build-redirects.R:27:3', 'test-build-reference-index.R:10:3', 'test-build-reference-index.R:60:3', 'test-build-reference-index.R:74:3', 'test-build-reference-index.R:115:3', 'test-build-reference-index.R:128:3', 'test-check.R:9:3', 'test-check.R:20:3', 'test-check.R:31:3', 'test-check.R:40:3', 'test-check.R:51:3', 'test-check.R:68:3', 'test-config.R:11:3', 'test-config.R:16:3', 'test-config.R:35:3', 'test-development.R:54:3', 'test-external-deps.R:4:3', 'test-highlight.R:14:3', 'test-highlight.R:28:3', 'test-highlight.R:56:3', 'test-init.R:3:3', 'test-init.R:57:3', 'test-markdown.R:24:3', 'test-markdown.R:61:3', 'test-navbar-menu.R:10:3', 'test-navbar-menu.R:20:3', 'test-navbar-menu.R:28:3', 'test-navbar-menu.R:50:3', 'test-navbar-menu.R:80:3', 'test-navbar-menu.R:84:3', 'test-build-article.R:47:3', 'test-build-article.R:110:3', 'test-build-article.R:118:3', 'test-build-article.R:169:3', 'test-build-article.R:175:3', 'test-build-article.R:204:3', 'test-build-article.R:223:3', 'test-build-article.R:229:3', 'test-build-article.R:276:3', 'test-build-article.R:283:3', 'test-navbar.R:3:3', 'test-navbar.R:15:3', 'test-navbar.R:25:3', 'test-navbar.R:88:3', 'test-navbar.R:103:3', 'test-navbar.R:124:4', 'test-navbar.R:133:3', 'test-navbar.R:172:3', 'test-package.R:2:3', 'test-package.R:21:3', 'test-package.R:27:3', 'test-package.R:92:3', 'test-preview.R:4:3', 'test-rd-example.R:112:3', 'test-render.R:6:3', 'test-render.R:48:3', 'test-rd-html.R:7:3', 'test-rd-html.R:32:3', 'test-rd-html.R:36:3', 'test-rd-html.R:53:3', 'test-rd-html.R:293:3', 'test-rd-html.R:365:3', 'test-rd-html.R:373:3', 'test-rd-html.R:384:3', 'test-rd-html.R:394:3', 'test-repo.R:53:3', 'test-theme.R:5:3', 'test-theme.R:36:3', 'test-topics-external.R:2:3', 'test-topics-external.R:10:3', 'test-templates.R:121:3', 'test-templates.R:128:3', 'test-templates.R:175:4', 'test-tweak-homepage.R:38:3', 'test-tweak-homepage.R:59:3', 'test-tweak-homepage.R:71:3', 'test-tweak-tags.R:61:3', 'test-tweak-tags.R:177:3', 'test-tweak-tags.R:268:3', 'test-topics.R:18:3', 'test-topics.R:35:3', 'test-topics.R:70:3', 'test-topics.R:157:3', 'test-topics.R:169:3', 'test-utils-fs.R:2:3', 'test-utils-fs.R:9:3', 'test-usage.R:24:3' • On Windows (10): 'test-build-quarto-articles.R:2:3', 'test-build-quarto-articles.R:15:3', 'test-build-quarto-articles.R:33:3', 'test-build-quarto-articles.R:48:3', 'test-build-quarto-articles.R:64:3', 'test-build-quarto-articles.R:76:3', 'test-build-quarto-articles.R:93:3', 'test-figure.R:3:3', 'test-tweak-tabset.R:2:3', 'test-tweak-tabset.R:26:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-build-home-index.R:4:3'): messages about reading and writing ─── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. └─testthat::expect_snapshot(...) at test-build-home-index.R:4:3 2. └─rlang::cnd_signal(state$error) ── Error ('test-build-home-index.R:15:3'): title and description come from DESCRIPTION by default ── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. ├─testthat::expect_equal(data_home(pkg)$pagetitle, "A test title") at test-build-home-index.R:15:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─pkgdown:::data_home(pkg) 5. ├─pkgdown:::print_yaml(...) 6. │ └─base::structure(x, class = "print_yaml") 7. └─pkgdown:::data_home_sidebar(pkg, call = call) 8. └─pkgdown:::data_home_sidebar_links(pkg) 9. └─pkgdown:::cran_link(pkg$package) 10. └─httr2::req_perform(req) 11. └─httr2:::cache_pre_fetch(req) 12. ├─httr2:::resp_cache_info(cache_get(req)) 13. │ └─httr2:::resp_cache_expires(resp, control) 14. │ ├─control %||% resp_cache_control(resp) 15. │ └─httr2:::resp_cache_control(resp) 16. │ └─httr2::resp_header(resp, "Cache-Control") 17. │ └─httr2:::check_response(resp) 18. │ └─httr2:::is_response(resp) 19. └─httr2:::cache_get(req) 20. └─base::readRDS(path) ── Error ('test-build-home-index.R:27:3'): math is handled ───────────────────── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. ├─base::suppressMessages(build_home_index(pkg)) at test-build-home-index.R:27:3 2. │ └─base::withCallingHandlers(...) 3. └─pkgdown::build_home_index(pkg) 4. └─pkgdown:::data_home(pkg) 5. ├─pkgdown:::print_yaml(...) 6. │ └─base::structure(x, class = "print_yaml") 7. └─pkgdown:::data_home_sidebar(pkg, call = call) 8. └─pkgdown:::data_home_sidebar_links(pkg) 9. └─pkgdown:::cran_link(pkg$package) 10. └─httr2::req_perform(req) 11. └─httr2:::cache_pre_fetch(req) 12. ├─httr2:::resp_cache_info(cache_get(req)) 13. │ └─httr2:::resp_cache_expires(resp, control) 14. │ ├─control %||% resp_cache_control(resp) 15. │ └─httr2:::resp_cache_control(resp) 16. │ └─httr2::resp_header(resp, "Cache-Control") 17. │ └─httr2:::check_response(resp) 18. │ └─httr2:::is_response(resp) 19. └─httr2:::cache_get(req) 20. └─base::readRDS(path) ── Error ('test-build-home-index.R:51:3'): version formatting in preserved ───── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. ├─base::suppressMessages(build_home_index(pkg)) at test-build-home-index.R:51:3 2. │ └─base::withCallingHandlers(...) 3. └─pkgdown::build_home_index(pkg) 4. └─pkgdown:::data_home(pkg) 5. ├─pkgdown:::print_yaml(...) 6. │ └─base::structure(x, class = "print_yaml") 7. └─pkgdown:::data_home_sidebar(pkg, call = call) 8. └─pkgdown:::data_home_sidebar_links(pkg) 9. └─pkgdown:::cran_link(pkg$package) 10. └─httr2::req_perform(req) 11. └─httr2:::cache_pre_fetch(req) 12. ├─httr2:::resp_cache_info(cache_get(req)) 13. │ └─httr2:::resp_cache_expires(resp, control) 14. │ ├─control %||% resp_cache_control(resp) 15. │ └─httr2:::resp_cache_control(resp) 16. │ └─httr2::resp_header(resp, "Cache-Control") 17. │ └─httr2:::check_response(resp) 18. │ └─httr2:::is_response(resp) 19. └─httr2:::cache_get(req) 20. └─base::readRDS(path) ── Error ('test-build-home-index.R:58:3'): data_home_sidebar() works by default ── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. └─testthat::expect_snapshot(cat(data_home_sidebar(pkg))) at test-build-home-index.R:58:3 2. └─rlang::cnd_signal(state$error) ── Error ('test-build-home-index.R:106:3'): data_home_sidebar() can get a custom markdown formatted component ── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. ├─xml2::read_html(data_home_sidebar(pkg)) at test-build-home-index.R:106:3 2. └─pkgdown:::data_home_sidebar(pkg) 3. └─pkgdown:::data_home_sidebar_links(pkg) 4. └─pkgdown:::cran_link(pkg$package) 5. └─httr2::req_perform(req) 6. └─httr2:::cache_pre_fetch(req) 7. ├─httr2:::resp_cache_info(cache_get(req)) 8. │ └─httr2:::resp_cache_expires(resp, control) 9. │ ├─control %||% resp_cache_control(resp) 10. │ └─httr2:::resp_cache_control(resp) 11. │ └─httr2::resp_header(resp, "Cache-Control") 12. │ └─httr2:::check_response(resp) 13. │ └─httr2:::is_response(resp) 14. └─httr2:::cache_get(req) 15. └─base::readRDS(path) ── Error ('test-build-home-index.R:115:3'): data_home_sidebar() can add a TOC ── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. ├─xml2::read_html(data_home_sidebar(pkg)) at test-build-home-index.R:115:3 2. └─pkgdown:::data_home_sidebar(pkg) 3. └─pkgdown:::data_home_sidebar_links(pkg) 4. └─pkgdown:::cran_link(pkg$package) 5. └─httr2::req_perform(req) 6. └─httr2:::cache_pre_fetch(req) 7. ├─httr2:::resp_cache_info(cache_get(req)) 8. │ └─httr2:::resp_cache_expires(resp, control) 9. │ ├─control %||% resp_cache_control(resp) 10. │ └─httr2:::resp_cache_control(resp) 11. │ └─httr2::resp_header(resp, "Cache-Control") 12. │ └─httr2:::check_response(resp) 13. │ └─httr2:::is_response(resp) 14. └─httr2:::cache_get(req) 15. └─base::readRDS(path) ── Failure ('test-build-home.R:12:3'): can build site even if no Authors@R present ── Expected `suppressMessages(build_home_index(pkg))` to run without any errors. i Actually got a with text: error reading from connection ── Failure ('test-build-home.R:17:3'): can build package without any index/readme ── Expected `suppressMessages(build_home_index(pkg))` to run without any errors. i Actually got a with text: error reading from connection ── Error ('test-build-home.R:29:3'): .github files are copied and linked ─────── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. ├─base::suppressMessages(build_home(pkg)) at test-build-home.R:29:3 2. │ └─base::withCallingHandlers(...) 3. └─pkgdown::build_home(pkg) 4. └─pkgdown::build_home_index(pkg, quiet = quiet) 5. └─pkgdown:::data_home(pkg) 6. ├─pkgdown:::print_yaml(...) 7. │ └─base::structure(x, class = "print_yaml") 8. └─pkgdown:::data_home_sidebar(pkg, call = call) 9. └─pkgdown:::data_home_sidebar_links(pkg) 10. └─pkgdown:::cran_link(pkg$package) 11. └─httr2::req_perform(req) 12. └─httr2:::cache_pre_fetch(req) 13. ├─httr2:::resp_cache_info(cache_get(req)) 14. │ └─httr2:::resp_cache_expires(resp, control) 15. │ ├─control %||% resp_cache_control(resp) 16. │ └─httr2:::resp_cache_control(resp) 17. │ └─httr2::resp_header(resp, "Cache-Control") 18. │ └─httr2:::check_response(resp) 19. │ └─httr2:::is_response(resp) 20. └─httr2:::cache_get(req) 21. └─base::readRDS(path) ── Error ('test-build-search-docs.R:37:3'): build_search_index() has expected structure ── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. ├─base::suppressMessages(build_home_index(pkg)) at test-build-search-docs.R:37:3 2. │ └─base::withCallingHandlers(...) 3. └─pkgdown::build_home_index(pkg) 4. └─pkgdown:::data_home(pkg) 5. ├─pkgdown:::print_yaml(...) 6. │ └─base::structure(x, class = "print_yaml") 7. └─pkgdown:::data_home_sidebar(pkg, call = call) 8. └─pkgdown:::data_home_sidebar_links(pkg) 9. └─pkgdown:::cran_link(pkg$package) 10. └─httr2::req_perform(req) 11. └─httr2:::cache_pre_fetch(req) 12. ├─httr2:::resp_cache_info(cache_get(req)) 13. │ └─httr2:::resp_cache_expires(resp, control) 14. │ ├─control %||% resp_cache_control(resp) 15. │ └─httr2:::resp_cache_control(resp) 16. │ └─httr2::resp_header(resp, "Cache-Control") 17. │ └─httr2:::check_response(resp) 18. │ └─httr2:::is_response(resp) 19. └─httr2:::cache_get(req) 20. └─base::readRDS(path) ── Error ('test-build-search-docs.R:46:3'): build sitemap only messages when it updates ── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. ├─base::suppressMessages(build_home(pkg)) at test-build-search-docs.R:46:3 2. │ └─base::withCallingHandlers(...) 3. └─pkgdown::build_home(pkg) 4. └─pkgdown::build_home_index(pkg, quiet = quiet) 5. └─pkgdown:::data_home(pkg) 6. ├─pkgdown:::print_yaml(...) 7. │ └─base::structure(x, class = "print_yaml") 8. └─pkgdown:::data_home_sidebar(pkg, call = call) 9. └─pkgdown:::data_home_sidebar_links(pkg) 10. └─pkgdown:::cran_link(pkg$package) 11. └─httr2::req_perform(req) 12. └─httr2:::cache_pre_fetch(req) 13. ├─httr2:::resp_cache_info(cache_get(req)) 14. │ └─httr2:::resp_cache_expires(resp, control) 15. │ ├─control %||% resp_cache_control(resp) 16. │ └─httr2:::resp_cache_control(resp) 17. │ └─httr2::resp_header(resp, "Cache-Control") 18. │ └─httr2:::check_response(resp) 19. │ └─httr2:::is_response(resp) 20. └─httr2:::cache_get(req) 21. └─base::readRDS(path) ── Error ('test-build-search-docs.R:60:3'): build_search() builds the expected search.json with no URL ── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. ├─base::suppressMessages(build_home(pkg)) at test-build-search-docs.R:60:3 2. │ └─base::withCallingHandlers(...) 3. └─pkgdown::build_home(pkg) 4. └─pkgdown::build_home_index(pkg, quiet = quiet) 5. └─pkgdown:::data_home(pkg) 6. ├─pkgdown:::print_yaml(...) 7. │ └─base::structure(x, class = "print_yaml") 8. └─pkgdown:::data_home_sidebar(pkg, call = call) 9. └─pkgdown:::data_home_sidebar_links(pkg) 10. └─pkgdown:::cran_link(pkg$package) 11. └─httr2::req_perform(req) 12. └─httr2:::cache_pre_fetch(req) 13. ├─httr2:::resp_cache_info(cache_get(req)) 14. │ └─httr2:::resp_cache_expires(resp, control) 15. │ ├─control %||% resp_cache_control(resp) 16. │ └─httr2:::resp_cache_control(resp) 17. │ └─httr2::resp_header(resp, "Cache-Control") 18. │ └─httr2:::check_response(resp) 19. │ └─httr2:::is_response(resp) 20. └─httr2:::cache_get(req) 21. └─base::readRDS(path) ── Error ('test-check-built.R:4:3'): check images in readme ──────────────────── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. ├─base::suppressMessages(build_home_index(pkg)) at test-check-built.R:4:3 2. │ └─base::withCallingHandlers(...) 3. └─pkgdown::build_home_index(pkg) 4. └─pkgdown:::data_home(pkg) 5. ├─pkgdown:::print_yaml(...) 6. │ └─base::structure(x, class = "print_yaml") 7. └─pkgdown:::data_home_sidebar(pkg, call = call) 8. └─pkgdown:::data_home_sidebar_links(pkg) 9. └─pkgdown:::cran_link(pkg$package) 10. └─httr2::req_perform(req) 11. └─httr2:::cache_pre_fetch(req) 12. ├─httr2:::resp_cache_info(cache_get(req)) 13. │ └─httr2:::resp_cache_expires(resp, control) 14. │ ├─control %||% resp_cache_control(resp) 15. │ └─httr2:::resp_cache_control(resp) 16. │ └─httr2::resp_header(resp, "Cache-Control") 17. │ └─httr2:::check_response(resp) 18. │ └─httr2:::is_response(resp) 19. └─httr2:::cache_get(req) 20. └─base::readRDS(path) ── Error ('test-init.R:18:3'): extra.css and extra.js copied and linked ──────── Error in `readRDS(path)`: error reading from connection Backtrace: ▆ 1. ├─base::suppressMessages(build_home(pkg)) at test-init.R:18:3 2. │ └─base::withCallingHandlers(...) 3. └─pkgdown::build_home(pkg) 4. └─pkgdown::build_home_index(pkg, quiet = quiet) 5. └─pkgdown:::data_home(pkg) 6. ├─pkgdown:::print_yaml(...) 7. │ └─base::structure(x, class = "print_yaml") 8. └─pkgdown:::data_home_sidebar(pkg, call = call) 9. └─pkgdown:::data_home_sidebar_links(pkg) 10. └─pkgdown:::cran_link(pkg$package) 11. └─httr2::req_perform(req) 12. └─httr2:::cache_pre_fetch(req) 13. ├─httr2:::resp_cache_info(cache_get(req)) 14. │ └─httr2:::resp_cache_expires(resp, control) 15. │ ├─control %||% resp_cache_control(resp) 16. │ └─httr2:::resp_cache_control(resp) 17. │ └─httr2::resp_header(resp, "Cache-Control") 18. │ └─httr2:::check_response(resp) 19. │ └─httr2:::is_response(resp) 20. └─httr2:::cache_get(req) 21. └─base::readRDS(path) [ FAIL 15 | WARN 0 | SKIP 129 | PASS 669 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [24s] OK * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR