Running ‘testthat.R’ [259s/180s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(pkgdown)
  > 
  > test_check("pkgdown")
  Starting 2 test processes
  [ FAIL 16 | WARN 18 | SKIP 125 | PASS 674 ]
  
  ══ Skipped tests (125) ═════════════════════════════════════════════════════════
  • On CRAN (125): 'test-build-reference.R:3: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:4:3', 'test-build-home-index.R:39:3',
    'test-build-home-index.R:58:3', 'test-build-home-index.R:86:3',
    'test-build-home-index.R:107:3', 'test-build-home-index.R:116:3',
    'test-build-home-index.R:125:3', 'test-build-home-index.R:136:3',
    'test-build-home-index.R:161: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:187:3', 'test-build-news.R:206:3',
    'test-build-news.R:220:3', 'test-build-news.R:234:3',
    'test-build-news.R:246: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:298: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-built.R:7: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: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-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-build-quarto-articles.R:72: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-render.R:6:3', 'test-render.R:48: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-tabset.R:22: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-usage.R:24:3', 'test-utils-fs.R:2:3', 'test-utils-fs.R:9:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-build-reference.R:44:3'): test usage ok on rendered page ───────
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-build-reference.R:44:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-build-reference.R:64:3'): .Rd without usage doesn't get Usage section ──
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-build-reference.R:64:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-build-reference.R:73:3'): pkgdown html dependencies are suppressed from examples in references ──
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-build-reference.R:73:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-build-reference.R:98:3'): examples are reproducible by default, i.e. 'seed' is respected ──
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-build-reference.R:98:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-build-reference.R:109:3'): arguments get individual ids ────────
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-build-reference.R:109:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-build-reference.R:119:3'): title and page title escapes html ───
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-build-reference.R:119:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-build-article.R:126:3'): can control math mode ─────────────────
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-build-article.R:126:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-build-article.R:248:3'): image links relative to output ────────
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-build-article.R:248:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-build-search-docs.R:36:3'): build_search_index() has expected structure ──
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-build-search-docs.R:36:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-build-search-docs.R:45:3'): build sitemap only messages when it updates ──
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-build-search-docs.R:45:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-figure.R:7:3'): can override defaults in _pkgdown.yml ──────────
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-figure.R:7:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-init.R:3:3'): informative print method ─────────────────────────
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(init_site(pkg)) at test-init.R:3:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-init.R:12:3'): extra.css and extra.js copied and linked ────────
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-init.R:12:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-init.R:30:3'): single extra.css correctly copied ───────────────
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-init.R:30:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-init.R:39:3'): asset subdirectories are copied ─────────────────
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-init.R:39:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  ── Error ('test-render.R:33:3'): can include text in header, before body, and after body ──
  Error in `utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")`: cannot open URL 'https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js'
  Backtrace:
       ▆
    1. ├─base::suppressMessages(init_site(pkg)) at test-render.R:33:3
    2. │ └─base::withCallingHandlers(...)
    3. └─pkgdown::init_site(pkg)
    4.   └─pkgdown:::build_bslib(pkg)
    5.     └─pkgdown:::external_dependencies(pkg)
    6.       ├─purrr::compact(...)
    7.       │ └─purrr::discard(.x, function(x) is_empty(.f(x)))
    8.       │   └─purrr:::where_if(.x, .p, ...)
    9.       │     └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
   10.       │       └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
   11.       └─pkgdown:::cached_dependency(...)
   12.         └─utils::download.file(file$url, cache_path, quiet = TRUE, mode = "wb")
  
  [ FAIL 16 | WARN 18 | SKIP 125 | PASS 674 ]
  Error: Test failures
  Execution halted