Running ‘testthat.R’ [11s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gbfs)
  > 
  > test_check("gbfs")
  ── ERROR (test-dynamic-feeds.R:8:3): dynamic feeds work ────────────────────────
  Error: 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.bcycle.com/bcycle_memphis/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/memphis/gbfs 
      
  Backtrace:
      █
   1. └─gbfs::get_station_status("memphis") test-dynamic-feeds.R:8:2
   2.   └─gbfs:::get_gbfs_dataset_(city, directory, file, output, feed = "station_status")
   3.     └─gbfs:::city_to_url(city, feed)
  
  ── ERROR (test-dynamic-feeds.R:22:3): file saving and overwriting works ────────
  Error: 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.bcycle.com/bcycle_memphis/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/memphis/gbfs 
      
  Backtrace:
      █
   1. └─gbfs::get_station_status("memphis", paste0(dir, "/test")) test-dynamic-feeds.R:22:2
   2.   └─gbfs:::get_gbfs_dataset_(city, directory, file, output, feed = "station_status")
   3.     └─gbfs:::city_to_url(city, feed)
  
  ── ERROR (test-dynamic-feeds.R:37:3): row binding checks work ──────────────────
  Error: 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.bcycle.com/bcycle_memphis/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/memphis/gbfs 
      
  Backtrace:
      █
   1. └─gbfs::get_station_status("memphis", dir, output = "both") test-dynamic-feeds.R:37:2
   2.   └─gbfs:::get_gbfs_dataset_(city, directory, file, output, feed = "station_status")
   3.     └─gbfs:::city_to_url(city, feed)
  
  ── ERROR (test-static-feeds.R:8:3): static feeds work ──────────────────────────
  Error: 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.bcycle.com/bcycle_memphis/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/memphis/gbfs 
      
  Backtrace:
      █
   1. └─gbfs::get_station_information("memphis") test-static-feeds.R:8:2
   2.   └─gbfs:::get_gbfs_dataset_(city, directory, file, output, feed = "station_information")
   3.     └─gbfs:::city_to_url(city, feed)
  
  ── ERROR (test-utils.R:43:3): argument checking works ──────────────────────────
  Error: 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.bcycle.com/bcycle_memphis/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/memphis/gbfs 
      
  Backtrace:
      █
   1. ├─testthat::expect_equal(...) test-utils.R:43:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─gbfs:::city_to_url(city_ = "memphis", feed_ = "station_information")
  
  ── ERROR (test-wrapper.R:7:1): (code run outside of `test_that()`) ─────────────
  Error: 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.bcycle.com/bcycle_memphis/gbfs.json 
      https://web.spin.pm/api/gbfs/v1/memphis/gbfs 
      
  Backtrace:
      █
   1. └─gbfs::get_gbfs("memphis") test-wrapper.R:7:0
   2.   └─gbfs:::city_to_url(city, "gbfs")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-dynamic-feeds.R:8:3): dynamic feeds work
  ERROR (test-dynamic-feeds.R:22:3): file saving and overwriting works
  ERROR (test-dynamic-feeds.R:37:3): row binding checks work
  ERROR (test-static-feeds.R:8:3): static feeds work
  ERROR (test-utils.R:43:3): argument checking works
  ERROR (test-wrapper.R:7:1): (code run outside of `test_that()`)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 19 ]
  Error: Test failures
  Execution halted