Skip to content

gtfsio v1.0.0

Compare
Choose a tag to compare
@dhersz dhersz released this 06 Nov 16:07
· 64 commits to master since this release

Bug fixes

  • import_gtfs() would raise a {bit64}-related warning when the first row of any table included a 64-bit integer. This is now fixed - when reading the first row to figure out which fields are present, all columns are read as character vectors.

New features

  • Added (internal) input assertion functions, which declutter the input checking sections quite a bit.
  • Added new (internal) gtfsio_error() function, which raises a custom-classed error condition. All errors raised in gtfsio's exported functions inherit from gtfsio_error and <function_name>_error, which allows for easier and more clear error catching.

Potentially breaking changes

  • Files and fields checking functions had their names changed. They now use the singular form, instead of the plural (i.e. check_fields_exist() was substituted by check_field_exists()). This shouldn't raise reverse dependencies concern, because as of now only {gtfstools} dev version uses such functions, which is an easy fix that doesn't concern CRAN release.