Last updated on 2020-08-07 01:50:33 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
anyflights | 5 | 7 | |
gbfs | 1 | 11 |
Current CRAN status: NOTE: 5, OK: 7
Version: 0.2.0
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘tibble’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64
Current CRAN status: ERROR: 1, OK: 11
Version: 1.3.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [0m/14m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(gbfs)
>
> test_check("gbfs")
── 1. Error: static feeds work (@test-static-feeds.R#12) ──────────────────────
The supplied "city" argument looks like the top-level "gbfs.json" URL, but the webpage for the system_calendar .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_calendar("portland")
2. gbfs:::get_gbfs_dataset_(city, directory, file, output, feed = "system_calendar")
3. gbfs:::city_to_url(city, feed)
4. gbfs:::find_feed_from_top_level(dplyr::pull(url), feed_)
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 30 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 1 ]
1. Error: static feeds work (@test-static-feeds.R#12)
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-solaris-x86