Running ‘testthat.R’ [54s/206s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(fingertipsR)
  > 
  > test_check("fingertipsR")
  ── 1. 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
  
  ── 2. 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
  
  ── 3. 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
  
  ── 4. 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 22/08/2018 Fingertips consisted of 67 profiles, made up of 4730 indicators and 1746 distinct indicators.── 5. 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
  
  ── 6. 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
  
  ── 7. 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
  
  ── 8. 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
  
  ── 9. Failure: number of fields returned by fingertips_data function are 25 (@te
  ncol(df7) 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(df8) not equal to ncols + 3.
  1/1 mismatches
  [1] 29 - 28 == 1
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 64 SKIPPED: 0 FAILED: 10
  1.  Failure: the dimensions of deprivation decile function are as expected (@test-deprivation.R#15) 
  2.  Failure: the dimensions of deprivation decile function are as expected (@test-deprivation.R#17) 
  3.  Failure: fingertips_redred should return a 25 field data.frame (@test-enhancements.R#12) 
  4.  Failure: fingertips_redred should return a 25 field data.frame (@test-enhancements.R#13) 
  5.  Failure: number of fields returned by fingertips_data function are 25 (@test-extract.R#49) 
  6.  Failure: number of fields returned by fingertips_data function are 25 (@test-extract.R#50) 
  7.  Failure: number of fields returned by fingertips_data function are 25 (@test-extract.R#51) 
  8.  Failure: number of fields returned by fingertips_data function are 25 (@test-extract.R#52) 
  9.  Failure: number of fields returned by fingertips_data function are 25 (@test-extract.R#53) 
  10. Failure: number of fields returned by fingertips_data function are 25 (@test-extract.R#54) 
  
  Error: testthat unit tests failed
  Execution halted