Running 'spelling.R' [0s]
  Running 'testthat.R' [20s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(nationwider)
  > 
  > test_check("nationwider")
  -- 1. Failure: id works (@test-symbols.R#15)  ----------------------------------
  `ntwd_get("since_1952")` threw an error.
  Message: Assigned data `c("", zoo::na.locf(unlist(x[1, ])))` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 13 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("since_1952"), NA)
    6. nationwider::ntwd_get("since_1952")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_since_1952(.access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 2. Failure: id works (@test-symbols.R#17)  ----------------------------------
  `ntwd_get("regional")` threw an error.
  Message: Assigned data `zoo::na.locf(unlist(x[1, ])) %>% char_na()` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 29 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("regional"), NA)
    6. nationwider::ntwd_get("regional")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_generic("all_prop", .access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 3. Failure: id works (@test-symbols.R#18)  ----------------------------------
  `ntwd_get("seasonal_regional")` threw an error.
  Message: Assigned data `c(NA, zoo::na.locf(unlist(x[1, ]))) %>% char_na()` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 29 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("seasonal_regional"), NA)
    6. nationwider::ntwd_get("seasonal_regional")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_seasonal_regional(.access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 4. Failure: id works (@test-symbols.R#19)  ----------------------------------
  `ntwd_get("new_prop")` threw an error.
  Message: Assigned data `zoo::na.locf(unlist(x[1, ])) %>% char_na()` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 29 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("new_prop"), NA)
    6. nationwider::ntwd_get("new_prop")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 5. Failure: id works (@test-symbols.R#20)  ----------------------------------
  `ntwd_get("mod_prop")` threw an error.
  Message: Assigned data `zoo::na.locf(unlist(x[1, ])) %>% char_na()` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 29 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("mod_prop"), NA)
    6. nationwider::ntwd_get("mod_prop")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 6. Failure: id works (@test-symbols.R#21)  ----------------------------------
  `ntwd_get("old_prop")` threw an error.
  Message: Assigned data `zoo::na.locf(unlist(x[1, ])) %>% char_na()` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 29 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("old_prop"), NA)
    6. nationwider::ntwd_get("old_prop")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 7. Failure: id works (@test-symbols.R#23)  ----------------------------------
  `ntwd_get("first")` threw an error.
  Message: Assigned data `zoo::na.locf(unlist(x[1, ])) %>% char_na()` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 29 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("first"), NA)
    6. nationwider::ntwd_get("first")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 8. Failure: id works (@test-symbols.R#24)  ----------------------------------
  `ntwd_get("fowner")` threw an error.
  Message: Assigned data `zoo::na.locf(unlist(x[1, ])) %>% char_na()` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 29 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("fowner"), NA)
    6. nationwider::ntwd_get("fowner")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 9. Failure: id works (@test-symbols.R#25)  ----------------------------------
  `ntwd_get("terraced")` threw an error.
  Message: Assigned data `zoo::na.locf(unlist(x[1, ])) %>% char_na()` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 29 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("terraced"), NA)
    6. nationwider::ntwd_get("terraced")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 10. Failure: id works (@test-symbols.R#26)  ---------------------------------
  `ntwd_get("flats")` threw an error.
  Message: Assigned data `zoo::na.locf(unlist(x[1, ])) %>% char_na()` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 29 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("flats"), NA)
    6. nationwider::ntwd_get("flats")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 11. Failure: id works (@test-symbols.R#27)  ---------------------------------
  `ntwd_get("semi_det")` threw an error.
  Message: Assigned data `zoo::na.locf(unlist(x[1, ])) %>% char_na()` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 29 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("semi_det"), NA)
    6. nationwider::ntwd_get("semi_det")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 12. Failure: id works (@test-symbols.R#28)  ---------------------------------
  `ntwd_get("detached")` threw an error.
  Message: Assigned data `zoo::na.locf(unlist(x[1, ])) %>% char_na()` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 29 rows.
  i Only vectors of size 1 are recycled.
  Class:   tibble_error_assign_incompatible_size/tibble_error/rlang_error/error/condition
  Backtrace:
    1. testthat::expect_error(ntwd_get("detached"), NA)
    6. nationwider::ntwd_get("detached")
    7. nationwider:::ntwd_get_id(id, .verbose = verbose)
    8. nationwider:::ntwd_get_generic(id, .access_info = .verbose)
   10. tibble:::`[<-.tbl_df`(...)
   11. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. tibble:::vectbl_recycle_rhs(...)
   13. base::tryCatch(...)
   14. base:::tryCatchList(expr, classes, parentenv, handlers)
   15. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. value[[3L]](cond)
  
  -- 13. Error: tidy objects (@test-tidy.R#6)  -----------------------------------
  Assigned data `c("", zoo::na.locf(unlist(x[1, ])))` must be compatible with row subscript `1`.
  x 1 row must be assigned.
  x Assigned data has 13 rows.
  i Only vectors of size 1 are recycled.
  Backtrace:
    1. nationwider:::expect_tidy(ntwd_get("since_1952"))
    5. nationwider::ntwd_get("since_1952") d:\RCompile\CRANpkg\local\3.6\nationwider.Rcheck\tests\testthat\helper.R:3:2
    6. nationwider:::ntwd_get_id(id, .verbose = verbose)
    7. nationwider:::ntwd_get_since_1952(.access_info = .verbose)
    9. tibble:::`[<-.tbl_df`(...)
   10. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. tibble:::vectbl_recycle_rhs(...)
   12. base::tryCatch(...)
   13. base:::tryCatchList(expr, classes, parentenv, handlers)
   14. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15. value[[3L]](cond)
  
  == testthat results  ===========================================================
  [ OK: 8 | SKIPPED: 0 | WARNINGS: 12 | FAILED: 13 ]
  1. Failure: id works (@test-symbols.R#15) 
  2. Failure: id works (@test-symbols.R#17) 
  3. Failure: id works (@test-symbols.R#18) 
  4. Failure: id works (@test-symbols.R#19) 
  5. Failure: id works (@test-symbols.R#20) 
  6. Failure: id works (@test-symbols.R#21) 
  7. Failure: id works (@test-symbols.R#23) 
  8. Failure: id works (@test-symbols.R#24) 
  9. Failure: id works (@test-symbols.R#25) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted