Running ‘testthat.R’ [18s/48s]
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: withCallingHandlers(tryCatch(if (missE) ...elt(i) else eval(cl.i, envir = envir), 
         error = function(e) {
             e$call <- cl.i
             stop(e)
         }), warning = function(w) {
         w$call <- cl.i
         w
     })
  8: tryCatch(if (missE) ...elt(i) else eval(cl.i, envir = envir), error = function(e) {
         e$call <- cl.i
         stop(e)
     })
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
    adding: home/hornik/tmp/scratch/Rtmp7dqkBt/Divvy_Trips_sample/ (stored 0%)
    adding: home/hornik/tmp/scratch/Rtmp7dqkBt/Divvy_Trips_sample/Divvy_Stations.csv (deflated 68%)
    adding: home/hornik/tmp/scratch/Rtmp7dqkBt/Divvy_Trips_sample/Divvy_Trips_sample.csv (deflated 79%)
    adding: home/hornik/tmp/scratch/Rtmp7dqkBt/201604-hubway-tripdata.csv (deflated 84%)
    adding: home/hornik/tmp/scratch/Rtmp7dqkBt/2017-Q1-Trips-History-Data.csv (deflated 78%)
    adding: home/hornik/tmp/scratch/Rtmp7dqkBt/la_metro_gbfs_trips_Q1_2017.csv (deflated 85%)
    adding: home/hornik/tmp/scratch/Rtmp7dqkBt/01aJourneyDataExtract10Jan16-23Jan16.csv (deflated 74%)
    adding: home/hornik/tmp/scratch/Rtmp7dqkBt/201612-citibike-tripdata.csv (deflated 74%)
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 141 SKIPPED: 1 FAILED: 1
  1. Error: latest files (@test-db-stats.R#29) 
  
  Error: testthat unit tests failed
  Execution halted