Running 'skip-heavy.R' [0s/0s]
  Running 'testthat.R' [8s/19s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(pct)
  > 
  > test_check("pct")
  trying URL 'https://s3-eu-west-1.amazonaws.com/statistics.digitalresources.jisc.ac.uk/dkan/files/FLOW/wu03ew_v2/wu03ew_v2.zip'
  Content type 'application/zip' length 12409884 bytes (11.8 MB)
  ==================================================
  downloaded 11.8 MB
  
  -- 1. Error: get_desire_lines works (@test-desire_lines.R#9)  ------------------
  Can't find columns `X`, `Y`, `msoa11cd`, `msoa11nm` in `.data`.
  1: expect_equal(nrow(get_desire_lines(region = "wight", n = 10)), 10) at testthat/test-desire_lines.R:9
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: nrow(get_desire_lines(region = "wight", n = 10))
  5: get_desire_lines(region = "wight", n = 10)
  6: get_od(region, omit_intrazonal = omit_intrazonal)
  7: get_centroids_ew()
  8: sf::st_as_sf(x = pwc[c("X", "Y", "msoa11cd", "msoa11nm")], coords = c("X", "Y"), 
         crs = 27700)
  9: pwc[c("X", "Y", "msoa11cd", "msoa11nm")]
  10: `[.spec_tbl_df`(pwc, c("X", "Y", "msoa11cd", "msoa11nm"))
  11: NextMethod(`[`)
  12: `[.tbl_df`(pwc, c("X", "Y", "msoa11cd", "msoa11nm"))
  13: check_names_df(i, x)
  14: check_names_before_after_character(j, names(unclass(x)))
  15: abort(error_unknown_names(unknown_names))
  
  trying URL 'https://github.com/npct/pct-outputs-regional-R/raw/master/commute/msoa/isle-of-wight/z.Rds'
  Content type 'application/octet-stream' length 14913 bytes (14 KB)
  ==================================================
  downloaded 14 KB
  
  trying URL 'https://github.com/npct/pct-outputs-regional-R/raw/master/commute/msoa/isle-of-wight/c.Rds'
  Content type 'application/octet-stream' length 6534 bytes
  ==================================================
  downloaded 6534 bytes
  
  == testthat results  ===========================================================
  [ OK: 16 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: get_desire_lines works (@test-desire_lines.R#9) 
  
  Error: testthat unit tests failed
  Execution halted