Running ‘testthat.R’ [71s/149s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(pkgdown)
  > 
  > test_check("pkgdown")
  [ FAIL 15 | WARN 0 | SKIP 79 | PASS 543 ]
  
  ══ Skipped tests (79) ══════════════════════════════════════════════════════════
  • On CRAN (75): 'test-build-articles.R:10:3', 'test-build-articles.R:32:3',
    'test-build-articles.R:105:3', 'test-build-articles.R:146:3',
    'test-build-favicons.R:14:3', 'test-build-footer.R:11:3',
    'test-build-home-authors.R:55:3', 'test-build-home-authors.R:61:3',
    'test-build-home-index.R:55:3', 'test-build-home-index.R:87:3',
    'test-build-home-index.R:109:3', 'test-build-logo.R:10:3',
    'test-build-news.R:20:3', 'test-build-news.R:48:3', 'test-build-news.R:99:3',
    'test-build-news.R:104:3', 'test-build-news.R:183:3',
    'test-build-news.R:209:3', 'test-build-news.R:230:3',
    'test-build-news.R:244:3', 'test-build-redirects.R:28:3',
    'test-build-reference-index.R:10:3', 'test-build-reference-index.R:60:3',
    'test-build-reference-index.R:72:3', 'test-build-reference-index.R:79:3',
    'test-build-reference-index.R:89:3', 'test-build-reference-index.R:96:3',
    'test-build-reference-index.R:125:3', 'test-build-reference.R:4:3',
    'test-check.R:7:3', 'test-check.R:17:3', 'test-check.R:22:3',
    'test-development.R:49:3', 'test-highlight.R:23:3', 'test-init.R:43:3',
    'test-markdown.R:17:3', 'test-navbar.R:3:3', 'test-navbar.R:15:3',
    'test-navbar.R:25:3', 'test-navbar.R:80:3', 'test-navbar.R:96:3',
    'test-navbar.R:111:3', 'test-navbar.R:122:4', 'test-navbar.R:132:4',
    'test-navbar.R:167:3', 'test-navbar.R:186:3', 'test-navbar.R:190:3',
    'test-package.R:17:3', 'test-rd-html.R:28:3', 'test-rd-html.R:31:3',
    'test-rd-html.R:48:3', 'test-rd-html.R:281:3', 'test-rd-html.R:353:3',
    'test-rd-html.R:364:3', 'test-rd-html.R:374:3', 'test-render.R:4:3',
    'test-render.R:12:3', 'test-repo.R:43:3', 'test-rmarkdown.R:16:3',
    'test-rmarkdown.R:40:3', 'test-sitrep.R:4:3', 'test-topics-external.R:2:3',
    'test-topics-external.R:10:3', 'test-topics.R:8:3', 'test-topics.R:47:3',
    'test-topics.R:136:3', 'test-tweak-homepage.R:38:3',
    'test-tweak-homepage.R:59:3', 'test-tweak-homepage.R:71:3',
    'test-tweak-tabset.R:21:3', 'test-tweak-tags.R:61:3',
    'test-tweak-tags.R:175:3', 'test-tweak-tags.R:255:3',
    'test-utils-yaml.R:5:3', 'test-utils-yaml.R:15:3'
  • dir_exists(path)[[1]] is not TRUE (1): 'test-build-home-citation.R:6:1'
  • dir_exists(test_path("assets/site-dot-github/.github")) is not TRUE (2):
    'test-build-home-community.R:4:3', 'test-build-home.R:43:3'
  • empty test (1): 'test-templates.R:75:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-build-home-index.R:3:3'): title and description come from DESCRIPTION by default ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(data_home(pkg)$pagetitle, "A test package") at test-build-home-index.R:3:2
    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)
    8.     └─pkgdown:::data_home_sidebar_links(pkg)
    9.       ├─pkgdown:::cran_link(pkg$package)
   10.       │ ├─base::withVisible(eval(mc, parent.frame()))
   11.       │ └─base::eval(mc, parent.frame())
   12.       │   └─base::eval(mc, parent.frame())
   13.       └─pkgdown (local) `<fn>`(pkg = pkg$package)
   14.         ├─httr::http_error(cran_url)
   15.         └─httr:::http_error.character(cran_url)
   16.           ├─httr::http_error(HEAD(x, ...))
   17.           └─httr::HEAD(x, ...)
   18.             └─httr:::request_perform(req, hu$handle$handle)
   19.               ├─httr:::request_fetch(req$output, req$url, handle)
   20.               └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   21.                 └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-build-home-index.R:16:3'): version formatting in preserved ─────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. └─pkgdown::build_home_index(pkg, quiet = TRUE) at test-build-home-index.R:16:2
    2.   └─pkgdown:::data_home(pkg)
    3.     ├─pkgdown:::print_yaml(...)
    4.     │ └─base::structure(x, class = "print_yaml")
    5.     └─pkgdown:::data_home_sidebar(pkg)
    6.       └─pkgdown:::data_home_sidebar_links(pkg)
    7.         ├─pkgdown:::cran_link(pkg$package)
    8.         │ ├─base::withVisible(eval(mc, parent.frame()))
    9.         │ └─base::eval(mc, parent.frame())
   10.         │   └─base::eval(mc, parent.frame())
   11.         └─pkgdown (local) `<fn>`(pkg = pkg$package)
   12.           ├─httr::http_error(cran_url)
   13.           └─httr:::http_error.character(cran_url)
   14.             ├─httr::http_error(HEAD(x, ...))
   15.             └─httr::HEAD(x, ...)
   16.               └─httr:::request_perform(req, hu$handle$handle)
   17.                 ├─httr:::request_fetch(req$output, req$url, handle)
   18.                 └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   19.                   └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-build-home-index.R:23:3'): data_home_sidebar() works by default ──
  `cat(data_home_sidebar(pkg))` threw an unexpected error.
  Message: Could not resolve host: cloud.r-project.org
  Class:   simpleError/error/condition
  ── Error ('test-build-home-index.R:26:3'): data_home_sidebar() works by default ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─xml2::read_html(data_home_sidebar(pkg)) at test-build-home-index.R:26:2
    2. └─pkgdown:::data_home_sidebar(pkg)
    3.   └─pkgdown:::data_home_sidebar_links(pkg)
    4.     ├─pkgdown:::cran_link(pkg$package)
    5.     │ ├─base::withVisible(eval(mc, parent.frame()))
    6.     │ └─base::eval(mc, parent.frame())
    7.     │   └─base::eval(mc, parent.frame())
    8.     └─pkgdown (local) `<fn>`(pkg = pkg$package)
    9.       ├─httr::http_error(cran_url)
   10.       └─httr:::http_error.character(cran_url)
   11.         ├─httr::http_error(HEAD(x, ...))
   12.         └─httr::HEAD(x, ...)
   13.           └─httr:::request_perform(req, hu$handle$handle)
   14.             ├─httr:::request_fetch(req$output, req$url, handle)
   15.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   16.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-build-home-index.R:70:3'): data_home_sidebar() can get a custom markdown formatted component ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─xml2::read_html(data_home_sidebar(pkg)) at test-build-home-index.R:70:2
    2. └─pkgdown:::data_home_sidebar(pkg)
    3.   └─pkgdown:::data_home_sidebar_links(pkg)
    4.     ├─pkgdown:::cran_link(pkg$package)
    5.     │ ├─base::withVisible(eval(mc, parent.frame()))
    6.     │ └─base::eval(mc, parent.frame())
    7.     │   └─base::eval(mc, parent.frame())
    8.     └─pkgdown (local) `<fn>`(pkg = pkg$package)
    9.       ├─httr::http_error(cran_url)
   10.       └─httr:::http_error.character(cran_url)
   11.         ├─httr::http_error(HEAD(x, ...))
   12.         └─httr::HEAD(x, ...)
   13.           └─httr:::request_perform(req, hu$handle$handle)
   14.             ├─httr:::request_fetch(req$output, req$url, handle)
   15.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   16.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-build-home-index.R:78:3'): data_home_sidebar() can add a README ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─xml2::read_html(data_home_sidebar(pkg)) at test-build-home-index.R:78:2
    2. └─pkgdown:::data_home_sidebar(pkg)
    3.   └─pkgdown:::data_home_sidebar_links(pkg)
    4.     ├─pkgdown:::cran_link(pkg$package)
    5.     │ ├─base::withVisible(eval(mc, parent.frame()))
    6.     │ └─base::eval(mc, parent.frame())
    7.     │   └─base::eval(mc, parent.frame())
    8.     └─pkgdown (local) `<fn>`(pkg = pkg$package)
    9.       ├─httr::http_error(cran_url)
   10.       └─httr:::http_error.character(cran_url)
   11.         ├─httr::http_error(HEAD(x, ...))
   12.         └─httr::HEAD(x, ...)
   13.           └─httr:::request_perform(req, hu$handle$handle)
   14.             ├─httr:::request_fetch(req$output, req$url, handle)
   15.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   16.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-build-home.R:7:3'): intermediate files cleaned up automatically ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─testthat::expect_output(build_home(pkg)) at test-build-home.R:7:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─pkgdown::build_home(pkg)
   11.   └─pkgdown::build_home_index(pkg, quiet = quiet)
   12.     └─pkgdown:::data_home(pkg)
   13.       ├─pkgdown:::print_yaml(...)
   14.       │ └─base::structure(x, class = "print_yaml")
   15.       └─pkgdown:::data_home_sidebar(pkg)
   16.         └─pkgdown:::data_home_sidebar_links(pkg)
   17.           ├─pkgdown:::cran_link(pkg$package)
   18.           │ ├─base::withVisible(eval(mc, parent.frame()))
   19.           │ └─base::eval(mc, parent.frame())
   20.           │   └─base::eval(mc, parent.frame())
   21.           └─pkgdown (local) `<fn>`(pkg = pkg$package)
   22.             ├─httr::http_error(cran_url)
   23.             └─httr:::http_error.character(cran_url)
   24.               ├─httr::http_error(HEAD(x, ...))
   25.               └─httr::HEAD(x, ...)
   26.                 └─httr:::request_perform(req, hu$handle$handle)
   27.                   ├─httr:::request_fetch(req$output, req$url, handle)
   28.                   └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   29.                     └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-build-home.R:16:3'): intermediate files cleaned up automatically ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─testthat::expect_output(build_home(pkg)) at test-build-home.R:16:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─pkgdown::build_home(pkg)
   11.   └─pkgdown::build_home_index(pkg, quiet = quiet)
   12.     └─pkgdown:::data_home(pkg)
   13.       ├─pkgdown:::print_yaml(...)
   14.       │ └─base::structure(x, class = "print_yaml")
   15.       └─pkgdown:::data_home_sidebar(pkg)
   16.         └─pkgdown:::data_home_sidebar_links(pkg)
   17.           ├─pkgdown:::cran_link(pkg$package)
   18.           │ ├─base::withVisible(eval(mc, parent.frame()))
   19.           │ └─base::eval(mc, parent.frame())
   20.           │   └─base::eval(mc, parent.frame())
   21.           └─pkgdown (local) `<fn>`(pkg = pkg$package)
   22.             ├─httr::http_error(cran_url)
   23.             └─httr:::http_error.character(cran_url)
   24.               ├─httr::http_error(HEAD(x, ...))
   25.               └─httr::HEAD(x, ...)
   26.                 └─httr:::request_perform(req, hu$handle$handle)
   27.                   ├─httr:::request_fetch(req$output, req$url, handle)
   28.                   └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   29.                     └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-build-home.R:27:3'): warns about missing images ────────────────
  `build_home(pkg)` threw an unexpected error.
  Message: Could not resolve host: cloud.r-project.org
  Class:   simpleError/error/condition
  ── Error ('test-build-home.R:34:3'): can build site even if no Authors@R present ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─testthat::expect_output(build_home(pkg)) at test-build-home.R:34:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─pkgdown::build_home(pkg)
   11.   └─pkgdown::build_home_index(pkg, quiet = quiet)
   12.     └─pkgdown:::data_home(pkg)
   13.       ├─pkgdown:::print_yaml(...)
   14.       │ └─base::structure(x, class = "print_yaml")
   15.       └─pkgdown:::data_home_sidebar(pkg)
   16.         └─pkgdown:::data_home_sidebar_links(pkg)
   17.           ├─pkgdown:::cran_link(pkg$package)
   18.           │ ├─base::withVisible(eval(mc, parent.frame()))
   19.           │ └─base::eval(mc, parent.frame())
   20.           │   └─base::eval(mc, parent.frame())
   21.           └─pkgdown (local) `<fn>`(pkg = pkg$package)
   22.             ├─httr::http_error(cran_url)
   23.             └─httr:::http_error.character(cran_url)
   24.               ├─httr::http_error(HEAD(x, ...))
   25.               └─httr::HEAD(x, ...)
   26.                 └─httr:::request_perform(req, hu$handle$handle)
   27.                   ├─httr:::request_fetch(req$output, req$url, handle)
   28.                   └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   29.                     └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-build-search-docs.R:4:3'): docsearch.json and sitemap.xml are valid ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─testthat::expect_output(build_site(pkg, new_process = FALSE)) at test-build-search-docs.R:4:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─pkgdown::build_site(pkg, new_process = FALSE)
   11.   └─pkgdown:::build_site_local(...)
   12.     └─pkgdown::build_home(pkg, override = override, preview = FALSE)
   13.       └─pkgdown::build_home_index(pkg, quiet = quiet)
   14.         └─pkgdown:::data_home(pkg)
   15.           ├─pkgdown:::print_yaml(...)
   16.           │ └─base::structure(x, class = "print_yaml")
   17.           └─pkgdown:::data_home_sidebar(pkg)
   18.             └─pkgdown:::data_home_sidebar_links(pkg)
   19.               ├─pkgdown:::cran_link(pkg$package)
   20.               │ ├─base::withVisible(eval(mc, parent.frame()))
   21.               │ └─base::eval(mc, parent.frame())
   22.               │   └─base::eval(mc, parent.frame())
   23.               └─pkgdown (local) `<fn>`(pkg = pkg$package)
   24.                 ├─httr::http_error(cran_url)
   25.                 └─httr:::http_error.character(cran_url)
   26.                   ├─httr::http_error(HEAD(x, ...))
   27.                   └─httr::HEAD(x, ...)
   28.                     └─httr:::request_perform(req, hu$handle$handle)
   29.                       ├─httr:::request_fetch(req$output, req$url, handle)
   30.                       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   31.                         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-build-search-docs.R:26:3'): build_search() builds the expected search`.json with an URL ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─testthat::expect_output(build_home(pkg)) at test-build-search-docs.R:26:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─pkgdown::build_home(pkg)
   11.   └─pkgdown::build_home_index(pkg, quiet = quiet)
   12.     └─pkgdown:::data_home(pkg)
   13.       ├─pkgdown:::print_yaml(...)
   14.       │ └─base::structure(x, class = "print_yaml")
   15.       └─pkgdown:::data_home_sidebar(pkg)
   16.         └─pkgdown:::data_home_sidebar_links(pkg)
   17.           ├─pkgdown:::cran_link(pkg$package)
   18.           │ ├─base::withVisible(eval(mc, parent.frame()))
   19.           │ └─base::eval(mc, parent.frame())
   20.           │   └─base::eval(mc, parent.frame())
   21.           └─pkgdown (local) `<fn>`(pkg = pkg$package)
   22.             ├─httr::http_error(cran_url)
   23.             └─httr:::http_error.character(cran_url)
   24.               ├─httr::http_error(HEAD(x, ...))
   25.               └─httr::HEAD(x, ...)
   26.                 └─httr:::request_perform(req, hu$handle$handle)
   27.                   ├─httr:::request_fetch(req$output, req$url, handle)
   28.                   └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   29.                     └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-build-search-docs.R:46:3'): build_search() builds the expected search.json with no URL ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─testthat::expect_output(build_home(pkg)) at test-build-search-docs.R:46:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─pkgdown::build_home(pkg)
   11.   └─pkgdown::build_home_index(pkg, quiet = quiet)
   12.     └─pkgdown:::data_home(pkg)
   13.       ├─pkgdown:::print_yaml(...)
   14.       │ └─base::structure(x, class = "print_yaml")
   15.       └─pkgdown:::data_home_sidebar(pkg)
   16.         └─pkgdown:::data_home_sidebar_links(pkg)
   17.           ├─pkgdown:::cran_link(pkg$package)
   18.           │ ├─base::withVisible(eval(mc, parent.frame()))
   19.           │ └─base::eval(mc, parent.frame())
   20.           │   └─base::eval(mc, parent.frame())
   21.           └─pkgdown (local) `<fn>`(pkg = pkg$package)
   22.             ├─httr::http_error(cran_url)
   23.             └─httr:::http_error.character(cran_url)
   24.               ├─httr::http_error(HEAD(x, ...))
   25.               └─httr::HEAD(x, ...)
   26.                 └─httr:::request_perform(req, hu$handle$handle)
   27.                   ├─httr:::request_fetch(req$output, req$url, handle)
   28.                   └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   29.                     └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-build.R:7:3'): can build package without any index/readme ──────
  <callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
  Error: ! in callr subprocess.
  Caused by error in `curl::curl_fetch_memory(url, handle = handle)`:
  ! Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─testthat::expect_output(build_site(pkg)) at test-build.R:7:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─pkgdown::build_site(pkg)
   11.   └─pkgdown:::build_site_external(...)
   12.     └─callr::r(...)
   13.       └─callr:::get_result(output = out, options)
   14.         └─throw(callr_remote_error(remerr, output), parent = fix_msg(remerr[[3]]))
  ── Error ('test-init.R:10:3'): extra.css and extra.js copied and linked ────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: cloud.r-project.org
  Backtrace:
       ▆
    1. ├─testthat::expect_output(build_home(pkg)) at test-init.R:10:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─pkgdown::build_home(pkg)
   11.   └─pkgdown::build_home_index(pkg, quiet = quiet)
   12.     └─pkgdown:::data_home(pkg)
   13.       ├─pkgdown:::print_yaml(...)
   14.       │ └─base::structure(x, class = "print_yaml")
   15.       └─pkgdown:::data_home_sidebar(pkg)
   16.         └─pkgdown:::data_home_sidebar_links(pkg)
   17.           ├─pkgdown:::cran_link(pkg$package)
   18.           │ ├─base::withVisible(eval(mc, parent.frame()))
   19.           │ └─base::eval(mc, parent.frame())
   20.           │   └─base::eval(mc, parent.frame())
   21.           └─pkgdown (local) `<fn>`(pkg = pkg$package)
   22.             ├─httr::http_error(cran_url)
   23.             └─httr:::http_error.character(cran_url)
   24.               ├─httr::http_error(HEAD(x, ...))
   25.               └─httr::HEAD(x, ...)
   26.                 └─httr:::request_perform(req, hu$handle$handle)
   27.                   ├─httr:::request_fetch(req$output, req$url, handle)
   28.                   └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   29.                     └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 15 | WARN 0 | SKIP 79 | PASS 543 ]
  Deleting unused snapshots:
  • build-search-docs/search-no-url.json
  • build-search-docs/search.json
  Error: Test failures
  Execution halted