CRAN Package Check Results for Package MBTAr

Last updated on 2019-05-13 08:52:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 2.57 21.97 24.54 OK
r-devel-linux-x86_64-debian-gcc 2.0.0 2.20 18.07 20.27 OK
r-devel-linux-x86_64-fedora-clang 2.0.0 31.62 OK
r-devel-linux-x86_64-fedora-gcc 2.0.0 28.52 OK
r-patched-linux-x86_64 2.0.0 2.71 22.29 25.00 ERROR
r-patched-solaris-x86 2.0.0 43.60 OK
r-release-linux-x86_64 2.0.0 2.32 21.83 24.15 OK
r-release-windows-ix86+x86_64 2.0.0 7.00 184.00 191.00 OK
r-release-osx-x86_64 2.0.0 OK
r-oldrel-windows-ix86+x86_64 2.0.0 4.00 36.00 40.00 OK
r-oldrel-osx-x86_64 2.0.0 OK

Check Details

Version: 2.0.0
Check: examples
Result: ERROR
    Running examples in ‘MBTAr-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: Tmetrics
    > ### Title: Query real-time performance statistics.
    > ### Aliases: Tmetrics
    >
    > ### ** Examples
    >
    > ## Authenticate:
    > ## Don't show:
    > test_key <- "Zt0g4Tkp2kaLNxoKFXI_Kg"
    >
    > ## End(Don't show)
    > mykey <- NULL
    > mykey <- assign("mykey", value = test_key, envir = .GlobalEnv)
    > ## use your own key from http://realtime.mbta.com/Portal/ instead of the test key
    >
    > Tmetrics(from_stop_id = NULL, # entire line
    + to_stop_id = NULL, # entire line
    + route_id = "Red", # Red Line
    + direction = 0, # southbound only
    + from_datetime = (Sys.time() - 3600), # 30 minutes ago
    + to_datetime = Sys.time(), # now
    + api_key = mykey) # user-defined API key
    Warning in file(con, "r") :
     cannot open URL 'http://realtime.mbta.com/developer/api/v2.1/metrics?api_key=Zt0g4Tkp2kaLNxoKFXI_Kg&format=json&route=Red&from_datetime=1557473369&to_datetime=1557476969': HTTP status was '500 Internal Server Error'
    Error in file(con, "r") :
     cannot open the connection to 'http://realtime.mbta.com/developer/api/v2.1/metrics?api_key=Zt0g4Tkp2kaLNxoKFXI_Kg&format=json&route=Red&from_datetime=1557473369&to_datetime=1557476969'
    Calls: Tmetrics -> readLines -> file
    Execution halted
Flavor: r-patched-linux-x86_64