Warning message:
In import_gtfs(path = gtfszip, files = c("aaa", "stops")) :
The provided GTFS feed doesn't contain the following text file(s): 'aaa'
This will read the GTFS and throw and Error AND a warning:
import_gtfs(path = gtfszip, files = 'aaa')
Error in import_gtfs(path = gtfszip, files = "aaa") :
The provided GTFS feed doesn't contain any of the specified files.
In addition: Warning message:
In import_gtfs(path = gtfszip, files = "aaa") :
The provided GTFS feed doesn't contain the following text file(s): 'aaa'
I'm just wondering if this shouldn't throw an ERROR in both cases. What do you guys think?
I'm writting a few tests for the
import_gtfs()
fun and I've encountered the behavior below:This will read the GTFS and throw a warning:
This will read the GTFS and throw and Error AND a warning:
I'm just wondering if this shouldn't throw an ERROR in both cases. What do you guys think?