Running ‘skip-heavy.R’ [0s/1s]
  Running ‘testthat.R’ [7s/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)  ──────────────────
  HTTP error 500.
  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: readr::read_csv(u)
  9: read_delimited(file, tokenizer, col_names = col_names, col_types = col_types, locale = locale, 
         skip = skip, skip_empty_rows = skip_empty_rows, comment = comment, n_max = n_max, 
         guess_max = guess_max, progress = progress)
  10: datasource_connection(file, skip, skip_empty_rows, comment)
  11: read_connection(path)
  12: open(con, "rb")
  13: open.connection(con, "rb")
  
  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
  In addition: Warning message:
  In for (i in seq_along(sigs)) { :
    closing unused connection 4 (https://opendata.arcgis.com/datasets/b0a6d8a3dc5d4718b3fd62c548d60f81_0.csv?outSR=%7B%22latestWkid%22%3A27700%2C%22wkid%22%3A27700%7D)
  Execution halted