Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [9s/175s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(nationwider)
  > 
  > test_check("nationwider")
  ── FAILURE (test-tidy.R:9:3): tidy objects ─────────────────────────────────────
  object is not tidy
  
  ── FAILURE (test-tidy.R:10:3): tidy objects ────────────────────────────────────
  object is not tidy
  
  ── ERROR (test-tidy.R:11:3): tidy objects ──────────────────────────────────────
  Error: `path` must be a string
  Backtrace:
       █
    1. ├─nationwider:::expect_tidy(ntwd_get("regional")) test-tidy.R:11:2
    2. │ ├─testthat::expect(is_tidy(x), "object is not tidy") helper.R:16:2
    3. │ └─nationwider:::is_tidy(x)
    4. │   └─nationwider:::has_date(x) helper.R:12:2
    5. └─nationwider::ntwd_get("regional") helper.R:3:2
    6.   └─nationwider:::ntwd_get_id(id, .verbose = verbose)
    7.     └─nationwider:::ntwd_get_generic("all_prop", .access_info = .verbose)
    8.       └─nationwider:::read_excel_silently(...)
    9.         ├─base::suppressMessages(...)
   10.         │ └─base::withCallingHandlers(...)
   11.         └─readxl::read_excel(..., na = c("", "N/A"))
   12.           └─readxl:::check_file(path)
  
  ── ERROR (test-tidy.R:11:3): tidy objects ──────────────────────────────────────
  Error: invalid first filename
  Backtrace:
      █
   1. ├─nationwider:::expect_tidy(ntwd_get("regional")) test-tidy.R:11:2
   2. │ ├─testthat::expect(is_tidy(x), "object is not tidy") helper.R:16:2
   3. │ └─nationwider:::is_tidy(x)
   4. │   └─nationwider:::has_date(x) helper.R:12:2
   5. └─nationwider::ntwd_get("regional") helper.R:3:2
   6.   └─nationwider:::ntwd_get_id(id, .verbose = verbose)
   7.     └─nationwider:::ntwd_get_generic("all_prop", .access_info = .verbose)
   8.       └─base::file.remove(xfile)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test-tidy.R:9:3): tidy objects
  FAILURE (test-tidy.R:10:3): tidy objects
  ERROR (test-tidy.R:11:3): tidy objects
  ERROR (test-tidy.R:11:3): tidy objects
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 27 ]
  Error: Test failures
  Execution halted