Running 'spelling.R' [0s/0s]
  Running 'testthat.R' [11s/260s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(nationwider)
  > 
  > test_check("nationwider")
  == Failed tests ================================================================
  -- Failure (test-symbols.R:24:3): id works -------------------------------------
  `ntwd_get("old_prop")` threw an error.
  Message: invalid first filename
  Class:   simpleError/error/condition
  Backtrace:
      x
   1. +-testthat::expect_error(ntwd_get("old_prop"), NA) test-symbols.R:24:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-nationwider::ntwd_get("old_prop")
   7.   \-nationwider:::ntwd_get_id(id, .verbose = verbose)
   8.     \-nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   9.       \-base::file.remove(xfile)
  -- Failure (test-symbols.R:29:3): id works -------------------------------------
  `ntwd_get("flats")` threw an error.
  Message: invalid first filename
  Class:   simpleError/error/condition
  Backtrace:
      x
   1. +-testthat::expect_error(ntwd_get("flats"), NA) test-symbols.R:29:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-nationwider::ntwd_get("flats")
   7.   \-nationwider:::ntwd_get_id(id, .verbose = verbose)
   8.     \-nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   9.       \-base::file.remove(xfile)
  -- Error (test-tidy.R:15:3): tidy objects --------------------------------------
  Error: `path` must be a string
  Backtrace:
       x
    1. +-nationwider:::expect_tidy(ntwd_get("old_prop")) test-tidy.R:15: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("old_prop") helper.R:3:2
    6.   \-nationwider:::ntwd_get_id(id, .verbose = verbose)
    7.     \-nationwider:::ntwd_get_generic(id, .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:15:3): tidy objects --------------------------------------
  Error: invalid first filename
  Backtrace:
      x
   1. +-nationwider:::expect_tidy(ntwd_get("old_prop")) test-tidy.R:15: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("old_prop") helper.R:3:2
   6.   \-nationwider:::ntwd_get_id(id, .verbose = verbose)
   7.     \-nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   8.       \-base::file.remove(xfile)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 31 ]
  Error: Test failures
  Execution halted