Skip to content

Commit

Permalink
partial fix for #88
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Aug 16, 2022
1 parent 69e5406 commit d36ebaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: gtfsrouter
Title: Routing with GTFS (General Transit Feed Specification) Data
Version: 0.0.5.091
Version: 0.0.5.092
Authors@R: c(
person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre")),
person("Marcin", "Stepniak", , "marcinstepniak@ucm.es", role = "aut",
Expand Down
2 changes: 1 addition & 1 deletion R/router.R
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ map_all_trips <- function (gtfs, route, include_ids) {
# no visible binding note:
trip_id <- trip_headsign <- route_id <- route_short_name <- NULL

trip_ids <- gtfs$trip_ids [unique (route$trip_number)] [, trip_ids]
trip_ids <- unique (route$trip_id [order (route$time)])
# trips with from_to_are_ids can end with trip_ids of NA from transfers
trip_ids <- trip_ids [!is.na (trip_ids)]
res <- do.call (rbind, lapply (trip_ids, function (i) {
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"codeRepository": "https://github.com/ATFutures/gtfs-router",
"issueTracker": "https://github.com/ATFutures/gtfs-router/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.0.5.091",
"version": "0.0.5.092",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit d36ebaa

Please sign in to comment.