r-transit / gtfsio

Read and Write General Transit Feed Specification (GTFS)
https://r-transit.github.io/gtfsio/
Other
13 stars 3 forks source link

unused params in new_gtfs #9

Closed polettif closed 3 years ago

polettif commented 3 years ago

import_gtfs.R#L174 uses new_gtfs(gtfs, names = files_to_read) which isn't used in new_gtfs. What's the intended behaviour?

dhersz commented 3 years ago

Nice catach @polettif. I used to use this argument to assign names to the GTFS, but then I decided to do that explicitly a few lines above. Apparently I forgot to remove it from the call.