This PR reduces the package size below the 5 MB CRAN policy threshold. To achieve this, I removed some routes from the NYC sample feed and simplified the shapes. The routes are not explicitly used in the vignettes or examples. Given the fact that the feed is already six years old at this point I don't think there is an issue with transforming it to a pure "example feed".
Notable changes:
Renamed google_transit_nyc_subway.zip to nyc_subway.zip throughout the package
Removed the following routes from nyc_subway.zip: A, SI, H, FS, J, Z and F.
Minor changes in the vignette output, mainly in the servicepattern vignette but the gist of them hasn't changed.
Removed the leaflet map in the introduction vignette that showed the bounding boxes for feeds. It increases the package size by almost 1 MB and it's not a core application for tidytransit. The code is still there.
Reduced the figure size of some plots
The code to create the reduced feed is pasted below, for posterity.
This PR reduces the package size below the 5 MB CRAN policy threshold. To achieve this, I removed some routes from the NYC sample feed and simplified the shapes. The routes are not explicitly used in the vignettes or examples. Given the fact that the feed is already six years old at this point I don't think there is an issue with transforming it to a pure "example feed".
Notable changes:
google_transit_nyc_subway.zip
tonyc_subway.zip
throughout the packageservicepattern
vignette but the gist of them hasn't changed.The code to create the reduced feed is pasted below, for posterity.