UrbanAnalyst/gtfsrouter

function "gtfs_traveltimes" not found

stefan-overkamp opened this issue · 2 comments

library(gtfsrouter)
berlin_gtfs_to_zip()
tempfiles <- list.files (tempdir (), full.names = TRUE)
filename <- tempfiles [grep ("vbb.zip", tempfiles)]
gtfs <- extract_gtfs (filename)
gtfs <- gtfs_timetable (gtfs, day = "Wednesday") # A pre-processing step to speed up queries
x <- gtfs_traveltimes (gtfs,
from = "Alexanderplatz",
start_time_limits = c (12, 13) * 3600)

Fehler in gtfs_traveltimes(gtfs, from = "Alexanderplatz", start_time_limits = c(12, :
konnte Funktion "gtfs_traveltimes" nicht finden

packageVersion("gtfsrouter")
[1] ‘0.0.4’

Is there a special package version needed to try gtfsrouter like shown on FossGIS?

remotes::install_git("https://git.sr.ht/~mpadge/gtfsrouter")
Fehler: Failed to install 'unknown package' from Git:
kann URL 'https://git.sr.ht/~mpadge/gtfsrouter/raw/93c8b3e1eb035952f48ac9ae064d8592e3f8807a/DESCRIPTION' nicht öffnen

Yes, sorry @stefan-overkamp, i was hoping to get new version on CRAN before today but didn't quite get there. In the meantime, you can just remotes::install_github("atfutures/gtfs-router") and all should work. Please close once all is okay for you

Many thanks. All is okay. I had to install package hms too.