Reports whether rt2s_scaffold / rt2s_assemble
produced a spec-compliant feed, and if not, why. This is the programmatic
counterpart to the assembly warnings: a publish/export step can gate on it
instead of relying on a human noticing a warning.
Arguments
- feed
A feed object returned by
rt2s_scaffold()orrt2s_assemble().
Value
A list with publishable (logical) and blockers
(character vector; empty when publishable). A feed with blockers is still
a valid R object for inspection/analysis - it just should not be published
as standard GTFS until the blockers are resolved (or built with
strict = TRUE, which refuses to produce one).
Examples
if (FALSE) { # \dontrun{
feed <- rt2s_scaffold(events)
status <- rt2s_publishable(feed)
if (!status$publishable) stop(paste(status$blockers, collapse = "; "))
} # }