Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(pkgdown)
  > 
  > test_check("pkgdown")
  [WARNING] Deprecated: markdown_github. Use gfm instead.
  [WARNING] Deprecated: markdown_github. Use gfm instead.
  [WARNING] Deprecated: markdown_github. Use gfm instead.
  [WARNING] Deprecated: markdown_github. Use gfm instead.
  [WARNING] Deprecated: markdown_github. Use gfm instead.
  [WARNING] Deprecated: markdown_github. Use gfm instead.
  [WARNING] Deprecated: markdown_github. Use gfm instead.
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (12)
  • dir_exists(path(pkg, ".github"))[[1]] is not TRUE (2)
  • dir_exists(path(test_path("assets/site-dot-github"), ".github"))[[1]] is not TRUE (1)
  • dir_exists(path)[[1]] is not TRUE (1)
  • file_exists("../../DESCRIPTION") is not TRUE (3)
  • is.null(rsconnect::accounts()) is TRUE (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-build-search-docs.R:9:3): docsearch.json and sitemap.xml are valid ──
  Error: Total path length must be less than PATH_MAX: 260
  Backtrace:
       █
    1. ├─testthat::expect_output(init_site(search)) test-build-search-docs.R:9:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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(temp, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─pkgdown::init_site(search)
   11.   └─pkgdown:::build_docsearch_json(pkg)
   12.     └─pkgdown:::write_if_different(pkg, json, json_path, check = FALSE)
   13.       └─pkgdown:::path_abs(path, start = pkg$dst_path)
   14.         ├─fs::path_abs(path(start, path))
   15.         │ └─fs::path_norm(path(getwd(), start))
   16.         └─fs::path(start, path)
   17.           └─fs::path_tidy(...)
  
  [ FAIL 1 | WARN 0 | SKIP 20 | PASS 361 ]
  Error: Test failures
  Execution halted