Running ‘testthat.R’ [4s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gbfs)
  > 
  > test_check("gbfs")
  ── 1. Error: dynamic feeds work (@test-dynamic-feeds.R#8)  ─────────────────────
  Several cities matched the supplied string. Please consider supplying a .json URL to specify your city of interest. The .json URLs for the cities matching the string are: 
      https://gbfs.biketownpdx.com/gbfs/gbfs.json 
      https://data.lime.bike/api/partners/v1/gbfs/portland/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/portland/gbfs 
      
  Backtrace:
   1. gbfs::get_station_status("portland")
   2. gbfs:::get_gbfs_dataset_(city, directory, file, output, feed = "station_status")
   3. gbfs:::city_to_url(city, feed)
  
  ── 2. Error: file saving and overwriting works (@test-dynamic-feeds.R#22)  ─────
  Several cities matched the supplied string. Please consider supplying a .json URL to specify your city of interest. The .json URLs for the cities matching the string are: 
      https://gbfs.biketownpdx.com/gbfs/gbfs.json 
      https://data.lime.bike/api/partners/v1/gbfs/portland/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/portland/gbfs 
      
  Backtrace:
   1. gbfs::get_station_status("portland", paste0(dir, "/test"))
   2. gbfs:::get_gbfs_dataset_(city, directory, file, output, feed = "station_status")
   3. gbfs:::city_to_url(city, feed)
  
  ── 3. Error: row binding checks work (@test-dynamic-feeds.R#37)  ───────────────
  Several cities matched the supplied string. Please consider supplying a .json URL to specify your city of interest. The .json URLs for the cities matching the string are: 
      https://gbfs.biketownpdx.com/gbfs/gbfs.json 
      https://data.lime.bike/api/partners/v1/gbfs/portland/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/portland/gbfs 
      
  Backtrace:
   1. gbfs::get_station_status("portland", dir, output = "both")
   2. gbfs:::get_gbfs_dataset_(city, directory, file, output, feed = "station_status")
   3. gbfs:::city_to_url(city, feed)
  
  ── 4. Error: static feeds work (@test-static-feeds.R#8)  ───────────────────────
  Several cities matched the supplied string. Please consider supplying a .json URL to specify your city of interest. The .json URLs for the cities matching the string are: 
      https://gbfs.biketownpdx.com/gbfs/gbfs.json 
      https://data.lime.bike/api/partners/v1/gbfs/portland/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/portland/gbfs 
      
  Backtrace:
   1. gbfs::get_station_information("portland")
   2. gbfs:::get_gbfs_dataset_(city, directory, file, output, feed = "station_information")
   3. gbfs:::city_to_url(city, feed)
  
  ── 5. Error: argument checking works (@test-utils.R#43)  ───────────────────────
  Several cities matched the supplied string. Please consider supplying a .json URL to specify your city of interest. The .json URLs for the cities matching the string are: 
      https://gbfs.biketownpdx.com/gbfs/gbfs.json 
      https://data.lime.bike/api/partners/v1/gbfs/portland/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/portland/gbfs 
      
  Backtrace:
   1. testthat::expect_equal(...)
   4. gbfs:::city_to_url(city_ = "portland", feed_ = "station_information")
  
  ── 6. Error: (unknown) (@test-wrapper.R#7)  ────────────────────────────────────
  Several cities matched the supplied string. Please consider supplying a .json URL to specify your city of interest. The .json URLs for the cities matching the string are: 
      https://gbfs.biketownpdx.com/gbfs/gbfs.json 
      https://data.lime.bike/api/partners/v1/gbfs/portland/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/portland/gbfs 
      
  Backtrace:
   1. gbfs::get_gbfs("portland")
   2. gbfs:::city_to_url(city, "gbfs")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 19 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
  1. Error: dynamic feeds work (@test-dynamic-feeds.R#8) 
  2. Error: file saving and overwriting works (@test-dynamic-feeds.R#22) 
  3. Error: row binding checks work (@test-dynamic-feeds.R#37) 
  4. Error: static feeds work (@test-static-feeds.R#8) 
  5. Error: argument checking works (@test-utils.R#43) 
  6. Error: (unknown) (@test-wrapper.R#7) 
  
  Error: testthat unit tests failed
  Execution halted