Running ‘testthat.R’ [0m/13m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gbfs)
  > 
  > test_check("gbfs")
  ── 1. Error: file saving and overwriting works (@test-dynamic-feeds.R#25)  ─────
  The bikeshare data just pulled has different column names than the already stored bikeshare data at /tmp/Rtmpw7ayUK/working_dir/RtmpzpaaJQ/test/station_status.rds, so they can not be row-binded.
  Backtrace:
   1. gbfs::get_station_status("portland", paste0(dir, "/test"))
   2. gbfs:::get_gbfs_dataset_(city, directory, file, output, feed = "station_status")
   3. gbfs:::datasets_can_be_row_binded(...)
  
  ── 2. Error: static feeds work (@test-static-feeds.R#18)  ──────────────────────
  The supplied "city" argument looks like the top-level "gbfs.json" URL, but the webpage for the system_pricing_plans .json feed doesn't seem to exist. Please supply the actual URL or the name of the city as a string.
  Backtrace:
   1. gbfs::get_system_pricing_plans("portland")
   2. gbfs:::get_gbfs_dataset_(city, directory, file, output, feed = "system_pricing_plans")
   3. gbfs:::city_to_url(city, feed)
   4. gbfs:::find_feed_from_top_level(dplyr::pull(url), feed_)
  
  ── 3. Failure: argument checking works (@test-utils.R#43)  ─────────────────────
  city_to_url(city_ = "portland", feed_ = "station_information") not equal to "http://biketownpdx.socialbicycles.com/opendata/station_information.json".
  1/1 mismatches
  x[1]: "https://gbfs.biketownpdx.com/gbfs/en/station_information.json"
  y[1]: "http://biketownpdx.socialbicycles.com/opendata/station_information.json"
  
  ── 4. Error: (unknown) (@test-wrapper.R#10)  ───────────────────────────────────
  The supplied "city" argument looks like the top-level "gbfs.json" URL, but the webpage for the free_bike_status .json feed doesn't seem to exist. Please supply the actual URL or the name of the city as a string.
  Backtrace:
   1. gbfs::get_gbfs("https://mds.bird.co/gbfs/chicago/gbfs.json")
   4. purrr::map2(...)
   5. gbfs:::.f(.x[[i]], .y[[i]], ...)
   6. gbfs:::city_to_url(city, feed)
   7. gbfs:::find_feed_from_top_level(city_, feed_)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 24 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: file saving and overwriting works (@test-dynamic-feeds.R#25) 
  2. Error: static feeds work (@test-static-feeds.R#18) 
  3. Failure: argument checking works (@test-utils.R#43) 
  4. Error: (unknown) (@test-wrapper.R#10) 
  
  Error: testthat unit tests failed
  Execution halted