Running ‘testthat.R’ [16s/33s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bikedata)
  Data for London, U.K. powered by TfL Open Data:
    Contains OS data Ⓒ Crown copyright and database rights 2016
  Data for New York City provided and owned by:
    NYC Bike Share, LLC and Jersey City Bike Share, LLC ("Bikeshare")
    see https://www.citibikenyc.com/data-sharing-policy
  Data for Washington DC (Captialbikeshare), Chiago (Divvybikes) and Boston (Hubway)
    provided and owned by Motivate International Inc.
    see https://www.capitalbikeshare.com/data-license-agreement
    and https://www.divvybikes.com/data-license-agreement
    and https://www.thehubway.com/data-license-agreement
  > 
  > test_check("bikedata")
  1. Error: latest files (@test-db-stats.R#29) -----------------------------------
  Error in the HTTP2 framing layer
  1: bike_latest_files(bikedb) at testthat/test-db-stats.R:29
  2: basename(get_bike_files(city = cities[i]))
  3: get_bike_files(city = cities[i])
  4: get_nabsa_files(city = city)
  5: httr::content(httr::GET(the_url), encoding = "UTF-8", as = "parsed")
  6: stopifnot(is.response(x))
  7: is.response(x)
  8: inherits(x, "response")
  9: httr::GET(the_url)
  10: request_perform(req, hu$handle$handle)
  11: request_fetch(req$output, req$url, handle)
  12: request_fetch.write_memory(req$output, req$url, handle)
  13: curl::curl_fetch_memory(url, handle = handle)
  
    adding: tmp/RtmpLOdPWT/Divvy_Trips_sample/ (stored 0%)
    adding: tmp/RtmpLOdPWT/Divvy_Trips_sample/Divvy_Trips_sample.csv (deflated 79%)
    adding: tmp/RtmpLOdPWT/Divvy_Trips_sample/Divvy_Stations.csv (deflated 68%)
    adding: tmp/RtmpLOdPWT/201604-hubway-tripdata.csv (deflated 84%)
    adding: tmp/RtmpLOdPWT/2017-Q1-Trips-History-Data.csv (deflated 78%)
    adding: tmp/RtmpLOdPWT/la_metro_gbfs_trips_Q1_2017.csv (deflated 85%)
    adding: tmp/RtmpLOdPWT/01aJourneyDataExtract10Jan16-23Jan16.csv (deflated 74%)
    adding: tmp/RtmpLOdPWT/201612-citibike-tripdata.csv (deflated 74%)
  testthat results ================================================================
  OK: 142 SKIPPED: 0 FAILED: 1
  1. Error: latest files (@test-db-stats.R#29) 
  
  Error: testthat unit tests failed
  Execution halted