Running ‘testthat.R’ [14s/54s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(fingertipsR)
  > 
  > test_check("fingertipsR")
  On 09/07/2019 Fingertips consisted of 42 profiles, made up of 3370 indicators and 1525 distinct indicators.── 1. Error: (unknown) (@test-extract.R#10)  ───────────────────────────────────
  Unknown column `Indicator Name` 
  1: fingertips_data(ProfileID = 132) at testthat/test-extract.R:10
  2: retrieve_profile(ChildAreaTypeIDs = ChildAreaTypeIDs, ParentAreaTypeIDs = ParentAreaTypeIDs, 
         ProfileIDs = ProfileIDs, path = path)
  3: by(fd, list(fd$ProfileIDs, fd$ChildAreaTypeIDs, fd$ParentAreaTypeIDs), get_data)
  4: by.data.frame(fd, list(fd$ProfileIDs, fd$ChildAreaTypeIDs, fd$ParentAreaTypeIDs), 
         get_data)
  5: structure(eval(substitute(tapply(seq_len(nd), IND, FUNx, simplify = simplify)), data), 
         call = match.call(), class = "by")
  6: eval(substitute(tapply(seq_len(nd), IND, FUNx, simplify = simplify)), data)
  7: eval(substitute(tapply(seq_len(nd), IND, FUNx, simplify = simplify)), data)
  8: tapply(seq_len(1L), list(132, 102, 6L), function (x) 
     FUN(data[x, , drop = FALSE], ...), simplify = TRUE)
  9: lapply(X = ans[index], FUN = FUN, ...)
  10: FUN(X[[i]], ...)
  ...
  22: manip_at(.tbl, .vars, .funs, enquo(.funs), caller_env(), .include_group_vars = TRUE, 
         ...)
  23: tbl_at_syms(.tbl, .vars, .include_group_vars = .include_group_vars)
  24: tbl_at_vars(tbl, vars, .include_group_vars = .include_group_vars)
  25: tidyselect::vars_select(tibble_vars, !!!vars)
  26: vars_select_eval(.vars, quos)
  27: map_if(ind_list, is_character, match_strings, names = TRUE)
  28: map(.x[sel], .f, ...)
  29: .f(.x[[i]], ...)
  30: bad_unknown_vars(vars, unknown)
  31: abort(glue("Unknown { thing } { fmt_args(unknown) } "))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 53 SKIPPED: 0 WARNINGS: 0 FAILED: 1
  1. Error: (unknown) (@test-extract.R#10) 
  
  Error: testthat unit tests failed
  Execution halted