Running ‘testthat.R’ [69s/138s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(fingertipsR)
  > 
  > test_check("fingertipsR")
  ── 1. Error: the area_types function works correctly (@test-area_types.R#7)  ───
  Timeout was reached: Resolving timed out after 10000 milliseconds
  1: expect_is(area_types(), "data.frame") at testthat/test-area_types.R:7
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: area_types()
  5: paste0(path, "area_types/parent_area_types") %>% GET(use_proxy(ie_get_proxy_for_url(.), 
         username = "", password = "", auth = "ntlm")) %>% content("text") %>% fromJSON
  6: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  7: eval(quote(`_fseq`(`_lhs`)), env, env)
  8: eval(quote(`_fseq`(`_lhs`)), env, env)
  9: `_fseq`(`_lhs`)
  10: freduce(value, `_function_list`)
  11: function_list[[i]](value)
  12: GET(., use_proxy(ie_get_proxy_for_url(.), username = "", password = "", auth = "ntlm"))
  13: request_perform(req, hu$handle$handle)
  14: request_fetch(req$output, req$url, handle)
  15: request_fetch.write_memory(req$output, req$url, handle)
  16: curl::curl_fetch_memory(url, handle = handle)
  
  ── 2. Failure: the dimensions of deprivation decile function are as expected (@t
  dim(dep_2010) not equal to c(152, 3).
  1/2 mismatches
  [1] 0 - 152 == -152
  
  ── 3. Failure: the dimensions of deprivation decile function are as expected (@t
  dim(dep_101_2010) not equal to c(326, 3).
  1/2 mismatches
  [1] 0 - 326 == -326
  
  ── 4. Failure: fingertips_redred should return a 25 field data.frame (@test-enha
  ncol(fingertips_redred(10101, Comparator = "England")) not equal to 25.
  1/1 mismatches
  [1] 26 - 25 == 1
  
  ── 5. Failure: fingertips_redred should return a 25 field data.frame (@test-enha
  ncol(fingertips_redred(10101, Comparator = "Parent")) not equal to 25.
  1/1 mismatches
  [1] 26 - 25 == 1
  
  This may take a few moments... On 12/08/2018 Fingertips consisted of 67 profiles, made up of 4730 indicators and 1746 distinct indicators.── 6. Failure: number of fields returned by fingertips_data function are 25 (@te
  ncol(df1) not equal to `ncols`.
  1/1 mismatches
  [1] 26 - 25 == 1
  
  ── 7. Failure: number of fields returned by fingertips_data function are 25 (@te
  ncol(df4) not equal to `ncols`.
  1/1 mismatches
  [1] 26 - 25 == 1
  
  ── 8. Failure: number of fields returned by fingertips_data function are 25 (@te
  ncol(df5) not equal to `ncols`.
  1/1 mismatches
  [1] 26 - 25 == 1
  
  ── 9. Failure: number of fields returned by fingertips_data function are 25 (@te
  ncol(df6) not equal to `ncols`.
  1/1 mismatches
  [1] 26 - 25 == 1
  
  ── 10. Failure: number of fields returned by fingertips_data function are 25 (@t
  ncol(df7) not equal to `ncols`.
  1/1 mismatches
  [1] 26 - 25 == 1
  
  ── 11. Failure: number of fields returned by fingertips_data function are 25 (@t
  ncol(df8) not equal to ncols + 3.
  1/1 mismatches
  [1] 29 - 28 == 1
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 60 SKIPPED: 0 FAILED: 11
  1. Error: the area_types function works correctly (@test-area_types.R#7) 
  2. Failure: the dimensions of deprivation decile function are as expected (@test-deprivation.R#15) 
  3. Failure: the dimensions of deprivation decile function are as expected (@test-deprivation.R#17) 
  4. Failure: fingertips_redred should return a 25 field data.frame (@test-enhancements.R#12) 
  5. Failure: fingertips_redred should return a 25 field data.frame (@test-enhancements.R#13) 
  6. Failure: number of fields returned by fingertips_data function are 25 (@test-extract.R#49) 
  7. Failure: number of fields returned by fingertips_data function are 25 (@test-extract.R#50) 
  8. Failure: number of fields returned by fingertips_data function are 25 (@test-extract.R#51) 
  9. Failure: number of fields returned by fingertips_data function are 25 (@test-extract.R#52) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted